POST
/
refund
Create Refund
curl --request POST \
  --url https://nini.monieswitch.com/refund \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data null
{
  "status": true,
  "message": "Operation is successful",
  "data": {
    "id": "accab6bc-403f-4846-ba2a-5292dc8056dd",
    "merchantId": "3aed8fe9-2c60-48fe-bea4-71ea8c8f3c84",
    "transactionId": "d508258c-2ff6-4c4d-9409-22077929abf7",
    "customerNote": "I can't find my transaction",
    "merchantNote": "What's the status of this transaction?",
    "amount": 400,
    "updatedAt": "2025-05-12T12:18:37.634Z",
    "createdAt": "2025-05-12T12:18:37.634Z",
    "status": "pending",
    "deletedAt": null
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json · object

Response

200 - application/json

Create Refund - Successful

The response is of type object.