get https://api.sandbox.midtrans.com/v2/point_inquiry/
Get balance information on customer's card points.
Point Inquiry is triggered to obtain the balance amount on the card.
Point Inquiry Status Method
HTTP Method | Endpoint | Definition |
---|---|---|
GET | BASE_URL/v2/point_inquiry/{token_id} | Get the point balance of the card in denomination amount. |
Point Inquiry Request
See sample on the right -- try it yourself!
Query Parameter | Description | Type | Required |
---|---|---|---|
gross_amount | The amount of the following transaction in IDR . This number can decide the remaining point balance amount which can be used on the response.Note: Required for Mandiri Point. | String | Conditional |
Point Inquiry Response
{
"status_code": "200",
"status_message": "Success, Credit Card Point inquiry is successful",
"transaction_time": "2017-05-29 12:21:40",
"point_balance_amount": "10000.00"
}
JSON Attribute | Description | Type |
---|---|---|
status_code | Status code of transaction result. | String |
status_message | Status message of transaction result. | String |
transaction_time | Time of the transactions. | String |
point_balance_amount | Amount corresponding to the point balance in IDR. | String |