Skip to main content
Version: 1.1.0

Get Customer Token

POST 

/customer/token

This is used to get the customer (end-user application) access token using the server access token and customer number created in the GTN trading platform. This access token can be used to access the GTN open API via end-user applications.

Request

Body

    customerNumber stringrequired

    Customer Number of a customer.

    Example: ASI685695865

    accessToken stringrequired

    Server access token which gained from authentication/severAuthToken

Responses

OK

Schema
    status stringrequired

    Possible values: [SUCCESS, FAILED]

    reason stringrequired
    rejectCode integerrequired

    Find error codes here

    accessToken string
    refreshToken string
    accessTokenExpiresAt integer

    UTC time

    refreshTokenExpiresAt integer

    UTC time

    tokenType string

    Example: bearer

Loading...
Is this page helpful for you?