Payout service preparation

Before integrating the payout API, the token issuance process must be completed first.

Merchants integrated through the Open API use an API key to issue a token. If the API key is not issued correctly according to the legacy integration guide, please contact onlinesupport@eximbay.com.

The API key must be encoded using Base64 and included in the request header.

Request URL

Category URL
production https://pgonline.eximbay.com
test https://pgonline-test.eximbay.com

Token issuance

GET/token/api/authenticate

Request parameter

api_key string

Mandatory
Merchant API Key. Maximum length is 100 characters.
Request

curl --location 'https://internal-api.eximbay.com/token/api/authenticate' \
--header 'apiKey: ••••••'


Response parameter

token string

Token value

expired_at DateTime

Token expiration date
The token expires in one week on the test server and every two hours on the production server.
Response

{
  "rescode": "SUCCESS",
  "resmsg": "SUCCESS",
  "type": "token",
  "data": {
      "token": "****************",
      "expired_at": "2025-01-02 19:41:14"
      }
}