API Reference

This API allows you to check the wallet balance for a specific merchant.

API Endpoint:

https://pg.nippy.co.in/api/wallet/

Request Method:

POST

Request Headers:

  • Authorization: Bearer {auth_token}
  • Content-Type: application/json

Request Body:

FieldTypeDescription
midintYour Merchant's ID

Sample cURL Request:

curl --location --request POST 'https://pg.nippy.co.in/api/wallet/' \
--header 'Authorization: Bearer <AUTHTOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "mid": 3
}'

Replace with the actual auth token provided to the merchant.

Sample Success Response:

{
    "status": true,
    "message": "Success",
    "wallet": 114700,
    "code": 200
}

Sample Error Response:

{
    "status": false,
    "message": "Invalid mid",
    "input": {
        "mid": 3
    },
    "error_code": 400
}

In case of an error, the API will return an error response with a specific error code and a message describing the issue.