Close payment links
Path Parameters
Payment link ID
"pl_z1urYtVFgEebtcj8fxp4v"
Response
Payment link closed successfully
Unique identifier for the payment link
"pl_z1urYtVFgEebtcj8fxp4v"
URL for the payment link
"https://pay.hub2.com/pl_z1urYtVFgEebtcj8fxp4v"
Current status of the payment link
active, expired, closed, completed "active"
Merchant reference for the payment
"ORDER-12345"
Amount intended to be charged in the smallest currency unit. Null when openAmount is true.
1000
Three-letter ISO 4217 currency code
"XOF"
Number of successful payments recorded for this link
0
Maximum number of failed payments allowed per user
3
Creation date in ISO 8601 format
"2024-01-15T12:00:00.000Z"
Last update date in ISO 8601 format
"2024-01-15T12:30:00.000Z"
Expiration date in ISO 8601 format
"2024-01-15T14:30:00.000Z"
Restricted MSISDN
"123456789"
Type of the payment link
single_use, multi_use "single_use"
When true, the payer decides the amount at payment time.
false
Minimum amount the payer can enter (only when openAmount is true).
500
Maximum amount the payer can enter (only when openAmount is true).
100000
Maximum successful payments allowed (omitted when unlimited multi_use)
50
Custom form fields defined on this payment link. Absent when the link has no customer fields.
Collected payer data as fieldName → value pairs. Absent when no customerFields are defined.
{ "national_id": "AB123456" }