List Payment Links
Retrieve a list of payment links with optional filtering
Query parameters
Filter by creation date from (ISO 8601) - inclusive start date
Filter by creation date to (ISO 8601) - inclusive end date
Filter by expiration date from (ISO 8601) - inclusive start date
Filter by expiration date to (ISO 8601) - inclusive end date
Filter by payment link status
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.
Response
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"
},
"paymentAttempts": [
{
"id": "pay_QW2d6JnqiatcH8KhK0mD1",
"intentId": "pi_z1urYtVFgEebtcj8fxp4v",
"createdAt": "2020-10-15T12:09:49.355Z",
"updatedAt": "2020-10-15T12:16:26.128Z",
"status": "successful",
"amount": 100,
"currency": "XOF",
"method": "mobile_money",
"country": "CI",
"fees": [
{
"id": "lAe5HnFpvOjwdT9vSIgPA",
"amount": 5,
"currency": "XOF"
}
],
"nextAction": {
"data": {
"method": "post"
}
},
"paymentInformation": {
"recipient_name_hashmac": "a1b2c3d4e5f6",
"recipient_phone_hashmac": "a1b2c3d4e5f6",
"customer_id_hashmac": "a1b2c3d4e5f6"
}
}
]
}
]Changes
No recorded changes to this endpoint across all 1 revision of this API.