POST
/
payments
/
link
cURL
curl --request POST \
  --url https://api-test.klyme.io/api/v1/payments/link \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "merchantUuid": "<string>",
  "amount": 10.99,
  "currency": "GBP",
  "type": "EMAIL",
  "reference": "<string>",
  "email": "[email protected]",
  "mobile": "7742123456",
  "countryCallingCode": "44",
  "firstName": "<string>",
  "surname": "<string>"
}'
{
  "link": "https://lnk.klyme.io/a11de8",
  "date": "2025-09-08 15:05:12"
}
klyme-widget-flow-example

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Response

201 - application/json

Payment link response

The response is of type object.