Get Payment Link with Attempts
Retrieve detailed information about a payment link including payment attempts
Headers
Your api key. To create a key, please get into our dashboard. If you don't have access to it, please reach the Support team.
Your merchant ID. This information is available in our dashboard. If you don't have access to it, please reach the Support team.
Allow you to choose between the sandbox mode to perform some tests or the live mode for real world transactions.
live, sandbox Path Parameters
Payment link ID
"pl_z1urYtVFgEebtcj8fxp4v"
Response
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"
List of payment attempts for this payment link
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" }