Get payment link
GET
/api/merchant/payment-link
Headers
Name
Value
Description
Accept
application/json
CLIENT
client_key
The unique identifier for the client.
SECRET
generated_secret
The expected secret generated using your client key and secret key.
Response
[
{
"id": 3,
"business_id": 1,
"payment_type": "digital assets",
"amount": "100.00",
"duration": "days",
"duration_value": 5,
"type": "service",
"link_name": "Goods",
"payment_message": "Please pay the amount",
"ref": "ded6cf6b-5b5e-461a-8c2b-dd9c5aef2e5b",
"status": "expired",
"created_at": "2024-10-17T07:23:36.000000+01:00 WAT"
},
{
"id": 4,
"business_id": 1,
"payment_type": "local bank",
"amount": "5000.00",
"duration": "days",
"duration_value": 5,
"type": "products",
"link_name": "Fish",
"payment_message": "Please pay the amount",
"ref": "c77885ef-158b-4641-adac-e7698dae9c0c",
"status": "expired",
"created_at": "2024-10-17T07:39:12.000000+01:00 WAT"
},
{
"id": 5,
"business_id": 1,
"payment_type": "local bank",
"amount": "500000.00",
"duration": "days",
"duration_value": 5,
"type": "products",
"link_name": "Cow meat",
"payment_message": "Please pay the amount",
"ref": "db3e2ba2-27e3-4e8f-8c40-d0164f94c9ee",
"status": "expired",
"created_at": "2024-10-17T07:42:42.000000+01:00 WAT"
},
{
"id": 6,
"business_id": 1,
"payment_type": "mehticpay",
"amount": "0.00",
"duration": "days",
"duration_value": 5,
"type": "products",
"link_name": "Dog meat",
"payment_message": "Please pay the amount",
"ref": "ac7c0a4b-3d64-433b-8b80-abdc17363032",
"status": "expired",
"created_at": "2024-10-17T08:05:00.000000+01:00 WAT"
},
{
"id": 7,
"business_id": 1,
"payment_type": "local bank",
"amount": null,
"duration": "minutes",
"duration_value": 0,
"type": "services",
"link_name": "cloth payment",
"payment_message": null,
"ref": "b0c4610b-974f-4cfc-822f-a05b18e7758a",
"status": "active",
"created_at": "2024-10-30T09:06:54.000000+01:00 WAT"
},
{
"id": 8,
"business_id": 1,
"payment_type": "local bank",
"amount": "1000.00",
"duration": "days",
"duration_value": 5,
"type": "goods",
"link_name": "Shoe payment",
"payment_message": "please pay this",
"ref": "5d31b63a-be4b-4b83-bef7-e740c3dd5b25",
"status": "expired",
"created_at": "2024-10-30T09:08:28.000000+01:00 WAT"
},
{
"id": 9,
"business_id": 1,
"payment_type": "local bank",
"amount": "1000.00",
"duration": "days",
"duration_value": 5,
"type": "goods",
"link_name": "bag payment",
"payment_message": "please pay this",
"ref": "f250b507-f810-47fd-9268-3bca5e7c3c42",
"status": "expired",
"created_at": "2024-10-30T09:09:09.000000+01:00 WAT"
}
]
{
"error": "Invalid request"
}
Last updated