Create token
Attributes
api_key string
256 alpha numeric, obtained through the Blink platform.
secret_key string
256 alpha numeric, obtained through the Blink platform.
Request
POST https://secure.blinkpayment.co.uk/api/v1/pay/token Content-Type: application/json { "api_key": "************************", "secret_key": "*********************" }
Response
{ "access_token": "******************", "expired_on": "2023-01-01T12:00:00Z", "payment_types": [ "credit-card", "open-banking", ], "currency": "GBP", "send_blink_receipt": "No" }
Refresh token
Attributes
access_token string
256 Alpha numeric, obtained through the create token request.
Request
POST https://secure.blinkpayment.co.uk/api/v1/pay/token/refresh Content-Type: application/json { "access_token": "<access_token>" }
Response
{ "access_token": "******************", "expired_on": "2023-01-01T12:00:00Z", "currency": "GBP", "send_blink_receipt": "Yes" }