Authentication

See how you can authenticate with TransactionLink.

circle-info

All API requests must be made over HTTPS. Any requests made over HTTP will fail.

POST Authorize token

Authorize to obtain access token

post
/auth/authorize
Body
keystringRequired

Api key

Example: api key
secretstringRequired

Secret key

Example: secret key
Responses
chevron-right
200

Application was authorized successfully

application/json
accessTokenstringRequired

Access Token

Example: eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJlZUNUUWJnMHNIekhHVlFMdzZHcnhjZ0RVcUhHejBKUyIsImlhdCI6MTYxMjI2ODgyOSwiZXhwIjoxNjEyMjY5MTI5fQ.PtQ3yPoTfaUMTFi50Zb3v40otI-C0PKvAByRsHkiuVBlWEfS4gvRkO83e7opdv177zfKKoeHQBvcfw6fqk0kmQ
refreshTokenstringRequired

Refresh Token

Example: eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJlZUNUUWJnMHNIekhHVlFMdzZHcnhjZ0RVcUhHejBKUyIsImlhdCI6MTYxMjI2ODgyOSwiZXhwIjoxNjIwMDQ0ODI5fQ.IMaw2c-N6PS2xAK5I0-mzf2Z8FNHlvM6JjQog5INUcvD3K92oOWbyaBLlmudLoGLntd7EPFX4z3JjKk6YsTZ6A
tokenTypestringRequired

Token type

Example: Bearer
expiryDurationintegerRequired

Token expiration time in seconds

Example: 300
post
/auth/authorize

POST Refresh access token

Refresh access token

post
/auth/refresh
Body
refreshTokenstringRequired

Refresh token

Example: eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJlZUNUUWJnMHNIekhHVlFMdzZHcnhjZ0RVcUhHejBKUyIsImlhdCI6MTYxMjI2ODgyOSwiZXhwIjoxNjIwMDQ0ODI5fQ.IMaw2c-N6PS2xAK5I0-mzf2Z8FNHlvM6JjQog5INUcvD3K92oOWbyaBLlmudLoGLntd7EPFX4z3JjKk6YsTZ6A
Responses
chevron-right
200

Token was successfully

application/json
accessTokenstringRequired

Access Token

Example: eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJlZUNUUWJnMHNIekhHVlFMdzZHcnhjZ0RVcUhHejBKUyIsImlhdCI6MTYxMjI2ODgyOSwiZXhwIjoxNjEyMjY5MTI5fQ.PtQ3yPoTfaUMTFi50Zb3v40otI-C0PKvAByRsHkiuVBlWEfS4gvRkO83e7opdv177zfKKoeHQBvcfw6fqk0kmQ
refreshTokenstringRequired

Refresh Token

Example: eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJlZUNUUWJnMHNIekhHVlFMdzZHcnhjZ0RVcUhHejBKUyIsImlhdCI6MTYxMjI2ODgyOSwiZXhwIjoxNjIwMDQ0ODI5fQ.IMaw2c-N6PS2xAK5I0-mzf2Z8FNHlvM6JjQog5INUcvD3K92oOWbyaBLlmudLoGLntd7EPFX4z3JjKk6YsTZ6A
tokenTypestringRequired

Token type

Example: Bearer
expiryDurationintegerRequired

Token expiration time in seconds

Example: 300
post
/auth/refresh

GET Public key

Obtain public key

get
/auth/webhooks/key/{keyId}

Public key for validating webhook JWS signatures

Path parameters
keyIdstring · uuidRequired

UUID of the key, returned as kid parameter in webhook JWS header

Query parameters
pembooleanOptional

Param indiciating whether public key should be returned in PEM format or simple base64

Default: true
Responses
chevron-right
200

Public key obtained successfully

text/plain
stringOptional
get
/auth/webhooks/key/{keyId}

Last updated