v1
latestOpenAPI 3.1.02026-07-1342112262.5 KBPayment links
Create a payment link
Create a payment link
Required scopes: business/orders:read, business/orders:write
post/v1/payment_links/
Request body
Example request
{
"amount": {
"amount": 1500,
"currency": "ZAR"
},
"customer_description": "This description is visible to the customer on the payment page.",
"customer_reference": "Peter Parker"
}Response
Successful Response
Example response
{
"created_at": "2024-11-19T15:27:02+00:00",
"customer_description": "This description is visible to the customer on the payment page.",
"customer_reference": "Peter Parker",
"id": "1743683416648-616bc018-c572-430b-9c07-4e813ed03eb4",
"order_id": "1585232943682-9f7e2dbe-a09e-4fa8-aa4a-72290c513f1d",
"status": "pending",
"updated_at": "2024-11-19T16:27:23+00:00",
"url": "https://pay.yoco.com/r/dRggEC"
}