Skip to main content
Version: 1.0.0

Get Customer Token

POST 

/authentication/customerAuthToken

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 string
    rejectCode integer

    Find error codes here)

    accessToken stringrequired
    refreshToken stringrequired
    accessTokenExpiresIn integerdeprecated

    UTC time

    accessTokenExpiresAt integerrequired

    UTC time

    refreshTokenExpiresIn integerdeprecated

    UTC time

    refreshTokenExpiresAt integerrequired

    UTC time

    tokenType stringrequired

    Example: bearer

Loading...
Is this page helpful for you?