Skip to main content
GET /payment/auth/token/:environment/:channel/:pointOfSaleId

Access token

Returns a new access token. The access token validity is time-limited. Each payment flow is coupled with an access token - therefore the payment flow is also time-limited (i.e. must be finished or cancelled in the given time frame).

Path Parameters
    environment Environment required

    Possible values: [production, sandbox]

    API key/secret and environment must match.

    channel PaymentChannel required

    Possible values: [api, sdk]

    Channel of payment - api/sdk.

    pointOfSaleId PointOfSaleId required

    Point of Sale to accept the payment (target account)

Header Parameters
    Api-Key string required

    API key for given environment

    Api-Secret string required

    API secret for given environment

Responses

Access token with scope and expiration time


Schema
    accessToken string

    generated access token to access API

    expires date-time

    RFC 3339 date time format (2007-11-06T16:34:41.000Z)

    expiresIn integer

    number of seconds when token session expires

    scope TenantService[]

    Possible values: [account_owner, account_info, account_transactions, payments, risk_scoring]

    Set of token access privileges

Loading...