Singapay Home Page
Logo Icon
  1. E-Wallet (Money In)
  2. Get E-Wallet Transaction Details

Information

MethodPathFormatAuthentication
GET/api/v1.0/ewallet-native-transactions/{account_id}/{transaction_id}jsonOAuth 2.0 with Access Token

Request Details

Headers Structure

FieldValueTypeMandatoryLengthDescriptionExample
X-PARTNER-IDapi_keyAlphanumericMandatoryAPI key obtained from the merchant dashboard.b3ed7d4b-a96c-6c08-b3c7-12c3124242d9
Acceptapplication/jsonAlphabeticMandatorySpecifies JSON as the expected response format.application/json
AuthorizationBearer {bearerToken}AlphanumericMandatoryBearer token obtained from the get access token endpoint.Bearer eyJ0eXAiOiJKV1{…}

Request Example

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..."

Response Details

Response Structure

FieldTypeMandatoryDescriptionExample
statusNumericMandatoryHTTP Status Code200
successBooleanMandatory2xx is true. 4xx–5xx is false.true
dataObjectConditionalTransaction details-
> idIntegerMandatoryUnique transaction ID42
> account_idIntegerMandatoryAccount ID15
> reff_noStringMandatoryUnique reference numberEWT01JKABCDEF123456789
> statusStringMandatoryTransaction status (open, success, expired, canceled, failed)success
> status_computedStringMandatoryComputed status (auto-detects expiration)success
> is_expiredBooleanMandatoryWhether the checkout URL has expiredfalse
> ewallet_vendorStringMandatoryE-wallet vendor codeEWALLET_SHOPEEPAY
> amountDecimalMandatoryPayment amount50000.0
> total_amountDecimalMandatoryTotal transaction amount50000.0
> merchant_feeDecimal/NullOptionalTotal fee charged to the merchant1000.0
> net_amountDecimal/NullOptionalNet amount after fees49000.0
> checkout_urlString/NullOptionalWeb redirect URL for paymenthttps://wsa.wallet.airpay.co.id/
> checkout_url_appString/NullOptionalDeep link URL to open e-wallet appshopeeid://…
> vendor_reference_noString/NullOptionalReference number from e-wallet vendorSP202602091234567
> merchant_redirect_urlString/NullOptionalCustom redirect URL provided at checkout creationhttps://yoursite.com/payment/callback
> additional_infoObject/NullOptionalAdditional vendor-specific data-
> customer_nameString/NullOptionalCustomer nameJohn Doe
> customer_emailString/NullOptionalCustomer emailjohn@example.com
> customer_phoneString/NullOptionalCustomer phone081234567890
> balance_afterDecimal/NullOptionalAccount balance after settlement1500000.0
> has_reconBooleanMandatoryWhether transaction has been reconciledtrue
> recon_atString/NullOptionalReconciliation timestamp (ISO 8601)2026-02-09T14:00:00+00:00
> recon_byString/NullOptionalReconciled bysystem
> has_settleBooleanMandatoryWhether transaction has been settledtrue
> settle_atString/NullOptionalSettlement timestamp (ISO 8601)2026-02-09T15:00:00+00:00
> settle_byString/NullOptionalSettled bysystem
> has_settle_requestBooleanMandatoryWhether settlement has been requestedfalse
> payment_channelString/NullOptionalPayment channel usedSHOPEEPAY
> payment_vendor_codeString/NullOptionalVendor payment codeEWALLET_SHOPEEPAY
> is_auto_settleBooleanMandatoryWhether auto-settlement is enabledfalse
> settlement_methodString/NullOptionalSettlement methodnull
> processed_timestampString/NullOptionalPayment processing timestamp (ISO 8601)2026-02-09T13:05:00+00:00
> expired_atString/NullOptionalCheckout expiration time (ISO 8601)2026-02-09T13:30:00+00:00
> created_atStringMandatoryTransaction creation time (ISO 8601)2026-02-09T13:00:00+00:00
> updated_atStringMandatoryLast update time (ISO 8601)2026-02-09T13:05:00+00:00
> events_countIntegerMandatoryNumber of events logged3
> accountObject/NullOptionalAccount details (included relation)-
>> idStringMandatoryAccount ULID01K8AESCCKYSD98Z3P9RSDA36W
>> nameStringMandatoryAccount nameTravelan
> eventsArray/NullOptionalTransaction event logs (included relation)-

Response Example

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"
    }
}