
E-Wallet (Money In)
Check and sync the latest payment status of an e-wallet transaction from the vendor. This endpoint can trigger state changes if payment is confirmed.
The Inquiry Status endpoint checks the latest payment status directly from the e-wallet vendor (ShopeePay or Dana). If the vendor confirms the payment has been completed, this endpoint will automatically update the transaction status from open to success and process the payment flow.
This is useful when:
| Method | Path | Format | Authentication |
|---|---|---|---|
| GET | /api/v1.0/ewallet-native/{account_id}/inquiry-status/{id} | json | OAuth 2.0 with Access Token |
| Parameter | Type | Mandatory | Description | Example |
|---|---|---|---|---|
| account_id | String | Required | Your account ULID | 01K8AESCCKYSD98Z3P9RSDA36W |
| id | Integer | Required | Transaction ID to check status for | 42 |
| Field | Value | Type | Mandatory | Length | Description | Example |
|---|---|---|---|---|---|---|
| X-PARTNER-ID | api_key | Alphanumeric | Mandatory | API key obtained from the merchant dashboard. | b3ed7d4b-a96c-6c08-b3c7-12c3124242d9 | |
| Accept | application/json | Alphabetic | Mandatory | Specifies JSON as the expected response format. | application/json | |
| Authorization | Bearer {bearerToken} | Alphanumeric | Mandatory | Bearer token obtained from the get access token endpoint. | Bearer eyJ0eXAiOiJKV1{…} |
GET /api/v1.0/ewallet-native/01K8AESCCKYSD98Z3P9RSDA36W/inquiry-status/42
cURL Example:
curl -X GET "https://api.singapay.id/api/v1.0/ewallet-native/01K8AESCCKYSD98Z3P9RSDA36W/inquiry-status/42" \
-H "X-PARTNER-ID: b3ed7d4b-a96c-6c08-b3c7-12c3124242d9" \
-H "Accept: application/json" \
-H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9..."
The response uses the same transaction structure as Show Transaction. The key difference is that this endpoint may update the transaction status before returning the data.
| Field | Type | Mandatory | Description | Example |
|---|---|---|---|---|
| status | Numeric | Mandatory | HTTP Status Code | 200 |
| success | Boolean | Mandatory | 2xx is true. 4xx–5xx is false. | true |
| data | Object | Conditional | Transaction details (with latest status from vendor) | - |
| > id | Integer | Mandatory | Unique transaction ID | 42 |
| > reff_no | String | Mandatory | Unique reference number | EWT01JKABCDEF123456789 |
| > status | String | Mandatory | Updated transaction status | success |
| > status_computed | String | Mandatory | Computed status | success |
| > is_expired | Boolean | Mandatory | Whether the checkout URL has expired | false |
| > ewallet_vendor | String | Mandatory | E-wallet vendor code | EWALLET_SHOPEEPAY |
| > amount | Decimal | Mandatory | Payment amount | 50000.0 |
| > total_amount | Decimal | Mandatory | Total transaction amount | 50000.0 |
| > merchant_fee | Decimal/Null | Optional | Total fee charged to the merchant | 1000.0 |
| > net_amount | Decimal/Null | Optional | Net amount after fees | 49000.0 |
| > checkout_url | String/Null | Optional | Web redirect URL | https://wsa.wallet.airpay.co.id/… |
| > vendor_reference_no | String/Null | Optional | Reference number from e-wallet vendor | SP20260209ABC123 |
| > merchant_redirect_url | String/Null | Optional | Custom redirect URL provided at checkout creation | https://yoursite.com/payment/callback |
| > payment_channel | String/Null | Optional | Payment channel (updated after successful inquiry) | SHOPEEPAY |
| > processed_timestamp | String/Null | Optional | Payment processing timestamp (set after success) | 2026-02-09T13:05:00+00:00 |
| > expired_at | String/Null | Optional | Checkout expiration time (ISO 8601) | 2026-02-09T13:30:00+00:00 |
| > created_at | String | Mandatory | Transaction creation time (ISO 8601) | 2026-02-09T13:00:00+00:00 |
| > updated_at | String | Mandatory | Last update time (ISO 8601) | 2026-02-09T13:05:00+00:00 |
| > events_count | Integer | Mandatory | Number of events logged | 3 |
| > events | Array/Null | Optional | Transaction event logs (included relation) | - |
Success: The inquiry found that payment was completed. Transaction status updated to “success”.
{
"status": 200,
"success": true,
"data": {
"id": 42,
"account_id": 15,
"reff_no": "EWT01JKABCDEF123456789",
"status": "success",
"status_computed": "success",
"is_expired": false,
"ewallet_vendor": "EWALLET_SHOPEEPAY",
"amount": 50000.0,
"total_amount": 50000.0,
"merchant_fee": 1000.0,
"net_amount": 49000.0,
"checkout_url": "https://wsa.wallet.airpay.co.id/universal-link/wallet/pay?deep_and_deferred=1&txn_token=abc123",
"checkout_url_app": "shopeeid://main?type=transfer&token=abc123",
"vendor_reference_no": "SP20260209ABC123",
"merchant_redirect_url": "https://yoursite.com/payment/callback",
"additional_info": {
"web_redirect_url": "https://wsa.wallet.airpay.co.id/universal-link/wallet/pay?deep_and_deferred=1&txn_token=abc123",
"app_redirect_url": "shopeeid://main?type=transfer&token=abc123",
"shopeepay_reference_no": "SP20260209ABC123",
"response_code": "2005400"
},
"customer_name": "John Doe",
"customer_email": "john@example.com",
"customer_phone": "081234567890",
"balance_after": null,
"has_recon": false,
"recon_at": null,
"recon_by": null,
"has_settle": false,
"settle_at": null,
"settle_by": null,
"has_settle_request": false,
"settle_request_at": null,
"settle_request_by": null,
"payment_channel": "SHOPEEPAY",
"payment_vendor_code": "EWALLET_SHOPEEPAY",
"is_auto_settle": false,
"settlement_method": null,
"processed_timestamp": "2026-02-09T13:05:00+00:00",
"expired_at": "2026-02-09T13:30:00+00:00",
"created_at": "2026-02-09T13:00:00+00:00",
"updated_at": "2026-02-09T13:05:00+00:00",
"deleted_at": null,
"events_count": 2,
"events": [
{
"id": 1,
"event_type": "ewallet_checkout_created",
"direction": "OUT",
"source": "API",
"created_at": "2026-02-09T13:00:00+00:00"
},
{
"id": 2,
"event_type": "ewallet_payment_success_inquiry",
"direction": "IN",
"source": "API",
"created_at": "2026-02-09T13:05:00+00:00"
}
]
}
}
When the vendor has not yet received payment, the transaction status remains unchanged:
{
"status": 200,
"success": true,
"data": {
"id": 42,
"account_id": 15,
"reff_no": "EWT01JKABCDEF123456789",
"status": "open",
"status_computed": "open",
"is_expired": false,
"ewallet_vendor": "EWALLET_SHOPEEPAY",
"amount": 50000.0,
"total_amount": 50000.0,
"merchant_fee": 1000.0,
"net_amount": 49000.0,
"checkout_url": "https://wsa.wallet.airpay.co.id/universal-link/wallet/pay?deep_and_deferred=1&txn_token=abc123",
"checkout_url_app": "shopeeid://main?type=transfer&token=abc123",
"vendor_reference_no": "SP20260209ABC123",
"merchant_redirect_url": "https://yoursite.com/payment/callback",
"customer_name": "John Doe",
"customer_email": "john@example.com",
"customer_phone": "081234567890",
"payment_channel": null,
"processed_timestamp": null,
"expired_at": "2026-02-09T13:30:00+00:00",
"created_at": "2026-02-09T13:00:00+00:00",
"updated_at": "2026-02-09T13:00:00+00:00",
"events_count": 1
}
}
Error: Transaction not found.
{
"status": 404,
"success": false,
"error": {
"message": "E-Wallet transaction not found"
}
}
success: Returns the current transaction data immediately without calling the vendor API.open: Calls the e-wallet vendor API to check the latest payment status.
00), the transaction is processed: status changes to success, payment channel is updated, and an event is logged.open to success.success, calling this endpoint has no side effects — it simply returns the current data.