POST
/
wallet
/
credit
Credit Wallet
curl --request POST \
  --url https://nini.monieswitch.com/wallet/credit \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 100,
  "metadata": {
    "Key": "value"
  },
  "narration": "Testing",
  "pin": "2811",
  "walletId": "16c8c17b-8a66-4f8b-b195-269e92f831ae"
}'
{
  "data": {
    "amount": 100,
    "charge": 0,
    "createdAt": "2023-12-07T16:43:48.425Z",
    "metadata": {
      "Key": "value"
    },
    "narration": "Testing",
    "reference": "A1WcoZhRpByvOtyRAXCb6DHx7Zgm7p0gUwLx",
    "status": "SUCCESS",
    "totalAmount": 100,
    "transactionId": "2422b5ce-c37e-4718-bb87-e4d773945a8b",
    "walletId": "16c8c17b-8a66-4f8b-b195-269e92f831ae"
  },
  "message": "Wallet successfully credited.",
  "status": true
}

Headers

Authorization
string
required

Set value to 'Bearer {{MERCHANT_SECRET_KEY}}'

Body

application/json

Response

200 - application/json

Credit Wallet

The response is of type object.