v1
latestOpenAPI 3.0.02026-07-265892227.1 KBPayment Links
patch/payment-links/{id}/close
Path parameters
idstring required
Example:pl_z1urYtVFgEebtcj8fxp4v
Payment link ID
Response
Payment link closed successfully
Example response
{
"id": "pl_z1urYtVFgEebtcj8fxp4v",
"url": "https://pay.hub2.com/pl_z1urYtVFgEebtcj8fxp4v",
"status": "active",
"purchaseReference": "ORDER-12345",
"minAmount": 500,
"maxAmount": 100000,
"currency": "XOF",
"maximumPayments": 50,
"maximumAttempts": 3,
"createdAt": "2024-01-15T12:00:00.000Z",
"updatedAt": "2024-01-15T12:30:00.000Z",
"expirationDate": "2024-01-15T14:30:00.000Z",
"customerPhoneNumber": "123456789",
"type": "single_use",
"customerFields": [
{
"fieldName": "national_id",
"fieldLabel": "National ID"
}
],
"customerData": {
"national_id": "AB123456"
}
}