cURL
curl --request GET \ --url https://nini.monieswitch.com/payment-link/details \ --header 'Authorization: <authorization>'
{ "data": { "paymentLinkInfo": { "amount": 200, "channel": "API", "createdAt": "2023-12-05T14:42:22.441Z", "customerName": "<any>", "description": "A testing payment link", "email": "[email protected]", "hasPaid": false, "id": "226ad356-d898-4ff0-be1c-8a341a1eaa3d", "link": "2c9bmvBdxGbkBjhIwOcZCmumZNWeBcBXvvhM", "logo": "https://d180hr20lfxm9g.cloudfront.net/KjYCftkhyDoa7Bhl3m7aWsAP8_Background [email protected]", "name": "Tester two", "phoneNumber": "<any>", "reference": "t8DlKVbHMqkvIVtiOhG089oyJMlXXoGzx5AO", "requiresName": false, "requiresPhone": false, "status": "ACTIVE", "supportBankTransfer": true, "supportCard": false } }, "status": true }
Payment Link Details
Set value to 'Bearer {{MERCHANT_SECRET_KEY}}'
payment link ID
"226ad356-d898-4ff0-be1c-8a341a1eaa3d"
The response is of type object.
object