cURL
curl --request PATCH \ --url https://checkout-api-service.epayclub.com/checkout/links/{id}/edit \ --header 'Content-Type: application/json' \ --header 'api-key: <api-key>' \ --data ' { "Name": "<string>", "Description": "<string>", "PaymentType": "<string>", "Amount": "<string>", "Mobile": "<string>", "BackgroundImage": "<string>", "Website": "<string>", "AuthOption": "<string>", "Limit": "<string>" } '
{ "data": { "paymentLink": { "id": 125, "name": "Checkout TestA", "paymentType": null, "logo": "", "amount": null, "dateCreated": "2025-04-14T01:03:38.532696", "reference": "cONEmanSJGVvUaGI5Vq31qtaLDt1RR7OGMMgNNcZxZgEWBZLAiW3u12", "createdBy": null, "creatorEmail": null, "isActive": true, "currency": "NGN", "limit": null, "paymentLinkUrl": "cONEmanSJGVvUaGI5Vq31qtaLDt1RR7OGMMgNNcZxZgEWBZLAiW3u12", "appEnvironmentId": 1, "paymentLinkType": "Subscription Payments", "paymentLinkCode": "SUB", "description": "A Demo to understand how payment links work." }, "subsidiary": { "id": 1, "name": "Merchant Epayclub", "country": "NG", "supportEmail": "merchant@epayclub.com", "customization": null } }, "status": "success", "statusCode": "00", "message": "Payment details fetched successfully" }
Create a payment link for your customer.
SC
MC
SUB
AUTH
NOAUTH