get https://sandbox.onebrick.io/v2/payments/gs/acceptance/ewallet/
This API enables clients to retrieve the latest status of a payment transaction using the provided reference ID given by Brick.
Response Parameters
| Key parameters | Data type | Description |
|---|---|---|
| status | Integer | The HTTP status code of the response (e.g., 200 for success). |
| data.message | String | A message indicating the success of retrieving the e-wallet status |
| data.id | String | Unique ID generated by Brick for the transaction |
| data.referenceId | String | The reference ID provided by the client to track the e-wallet transaction |
| data.amount | Integer | The transaction amount |
| data.status | String | The current status of the transactio |
| data.ewalletCode | String | The code representing the e-wallet provider used for the transaction |
| data.redirectUrl | String | The URL generated by the e-wallet provider for payment |
| data.expiredAt | Date Time | The expiration date and time of the transaction |
