token

POST /api/v2/token/new/

Obtain JWT pair

Request

  • Base URL
    https://bankaccountdata.gocardless.com
  • Auth
    HTTP bearer

Request body

secret_idstring required

Secret id from /user-secrets/

secret_keystring required

Secret key from /user-secrets/

Response

Obtain JWT response.

accessstring

Your access token

access_expiresinteger

Access token expires in seconds

refreshstring

Your refresh token

refresh_expiresinteger

Refresh token expires in seconds

Changes

No recorded changes to this operation across all 1 revision of this API.