Get Token

The API generates a token that will be used in other APIs to validate the merchant. It also returns the payment integration option set for the merchant. The response key is "is_3d". see:White Label

Enpoint, Headers and Request information is given below.

Method API Endpoint Content-Type
Post /api/token application/json

White Label

is_3d Description
0 Non-Secure Only (2D)
1 Non-Secure (2D) or Secure (3D)
2 Secure only (3D)
4 Pay with PayBull (hosted by Paybull)

If the Token API returns (is_3d) as 1, the merchant's website needs to display a checkbox for the user to choose between 2D or 3D.

 {
    "app_id":"c3d81ae3cc3011ef10dcefa31a458d65",
    "app_secret":"217071ea9f3f2e9b695d8f0039024e64"
 }