
E-Wallet (Money In)
Retrieve the details of a specific e-wallet (money in) transaction by its ID.
| Method | Path | Format | Authentication |
|---|---|---|---|
| GET | /api/v1.0/ewallet-native-transactions/{account_id}/{transaction_id} | json | OAuth 2.0 with Access Token |
| 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-transactions/01K8AESCCKYSD98Z3P9RSDA36W/42
cURL Example:
curl -X GET "https://api.singapay.id/api/v1.0/ewallet-native-transactions/01K8AESCCKYSD98Z3P9RSDA36W/42" \
-H "X-PARTNER-ID: b3ed7d4b-a96c-6c08-b3c7-12c3124242d9" \
-H "Accept: application/json" \
-H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9..."
| 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 | - |
| > id | Integer | Mandatory | Unique transaction ID | 42 |
| > account_id | Integer | Mandatory | Account ID | 15 |
| > reff_no | String | Mandatory | Unique reference number | EWT01JKABCDEF123456789 |
| > status | String | Mandatory | Transaction status (open, success, expired, canceled, failed) | success |
| > status_computed | String | Mandatory | Computed status (auto-detects expiration) | 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 for payment | https://wsa.wallet.airpay.co.id/… |
| > checkout_url_app | String/Null | Optional | Deep link URL to open e-wallet app | shopeeid://… |
| > vendor_reference_no | String/Null | Optional | Reference number from e-wallet vendor | SP202602091234567 |
| > merchant_redirect_url | String/Null | Optional | Custom redirect URL provided at checkout creation | https://yoursite.com/payment/callback |
| > additional_info | Object/Null | Optional | Additional vendor-specific data | - |
| > customer_name | String/Null | Optional | Customer name | John Doe |
| > customer_email | String/Null | Optional | Customer email | john@example.com |
| > customer_phone | String/Null | Optional | Customer phone | 081234567890 |
| > balance_after | Decimal/Null | Optional | Account balance after settlement | 1500000.0 |
| > has_recon | Boolean | Mandatory | Whether transaction has been reconciled | true |
| > recon_at | String/Null | Optional | Reconciliation timestamp (ISO 8601) | 2026-02-09T14:00:00+00:00 |
| > recon_by | String/Null | Optional | Reconciled by | system |
| > has_settle | Boolean | Mandatory | Whether transaction has been settled | true |
| > settle_at | String/Null | Optional | Settlement timestamp (ISO 8601) | 2026-02-09T15:00:00+00:00 |
| > settle_by | String/Null | Optional | Settled by | system |
| > has_settle_request | Boolean | Mandatory | Whether settlement has been requested | false |
| > payment_channel | String/Null | Optional | Payment channel used | SHOPEEPAY |
| > payment_vendor_code | String/Null | Optional | Vendor payment code | EWALLET_SHOPEEPAY |
| > is_auto_settle | Boolean | Mandatory | Whether auto-settlement is enabled | false |
| > settlement_method | String/Null | Optional | Settlement method | null |
| > processed_timestamp | String/Null | Optional | Payment processing timestamp (ISO 8601) | 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 |
| > account | Object/Null | Optional | Account details (included relation) | - |
| >> id | String | Mandatory | Account ULID | 01K8AESCCKYSD98Z3P9RSDA36W |
| >> name | String | Mandatory | Account name | Travelan |
| > events | Array/Null | Optional | Transaction event logs (included relation) | - |
Success: Here’s an example of a successful response.
{
"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": 1500000.0,
"has_recon": true,
"recon_at": "2026-02-09T14:00:00+00:00",
"recon_by": "system",
"has_settle": true,
"settle_at": "2026-02-09T15:00:00+00:00",
"settle_by": "system",
"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": 3,
"account": {
"id": "01K8AESCCKYSD98Z3P9RSDA36W",
"name": "Travelan",
"email": "travelan@gmail.com",
"phone": "085673574337633"
},
"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"
}
]
}
}
Error: Transaction not found.
{
"status": 404,
"success": false,
"error": {
"message": "No result for account_id: 01K8AESCCKYSD98Z3P9RSDA36W with transaction_id: 999"
}
}