PATCH
/
payment-link
/
details
Edit Payment Links
curl --request PATCH \
  --url https://nini.monieswitch.com/payment-link/details \
  --header 'Authorization: Bearer <token>'
{
  "status": true,
  "message": "Payment information successfully updated",
  "data": {
    "id": "2ac8a9cc-b56e-4575-ae65-6fbe05e45a74",
    "name": "Tester one updated",
    "bearer": "account",
    "email": null,
    "logo": "https://d26vslh4lbgfdh.cloudfront.net/NSNsBRjFIFHaXwQe5hAroWplA_base64.jpg",
    "hasPaid": false,
    "customerName": null,
    "link": "Czzf2U43dKkgy2nYJ8OBt8Xtn187POByKYqo",
    "channel": "WEB",
    "callbackURL": null,
    "webhookURL": null,
    "description": "A testing payment link updated",
    "mode": "SANDBOX",
    "requiresName": true,
    "requiresPhone": true,
    "supportCard": false,
    "supportBankTransfer": true,
    "status": "ACTIVE",
    "amount": 1000,
    "reference": "AbsSg12DP4e6OVbQaAnSvpkBZzvdD3TM5tK7",
    "phoneNumber": null,
    "transaction": null,
    "merchantId": "9807b62f-0d46-4859-9c04-d99a84ac4a2e",
    "createdAt": "2024-09-04T09:37:43.534Z",
    "updatedAt": "2024-09-04T09:48:37.919Z",
    "deletedAt": null
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Edit Payment Links

The response is of type object.