Get payment link QR code

Retrieve the payment link encoded in a QR code. Use the Accept header to specify the format of the response. Supported formats are application/json and image/png.

To access this endpoint using a token you’ll need to specify the /accounts/{accountID}/transfers.read scope.

GET
/accounts/{accountID}/payment-links/{paymentLinkCode}/qrcode
200 400 404 409 429
Retrieved QR code.
{
  "qrCode": "iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAIAAADaA7F0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAA...\n"
}
Invalid request, an error message will be available in the response body.
Response for http requests that failed
{
  "error": "example error message"
}
No payment link with the specified code was found.
Invalid request, an error message will be available in the response body.
Response for http requests that failed
{
  "error": "example error message"
}
Request was refused due to rate limiting.

Retry-After

number

Path parameters

accountID

string <uuid> required
ID of the account.

paymentLinkCode

string required
Unique code of the payment link.

Response

application/json

qrCode

string
A base64-encoded PNG image of the QR code.