Singapay Home Page
Logo Icon
  1. E-Wallet (Money Out)
  2. Inquiry Account

Information

MethodPathFormatAuthentication
POST/api/v2.0/ewallet/account-inquiryjsonOAuth 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…

Body Structure

KeyData TypeMandatoryDescription
account_idStringYESYour Account ID
ewallet_codeStringYESE-Wallet vendor code (e.g., DANA, SHOPEEPAY, OVO, GOPAY, SINGAPAY)
customer_numberStringYESCustomer’s e-wallet account number (phone number) to top up
amountObjectYESNet amount to be received by customer
> valueString (ISO 4217)YESAmount with 2 decimal digits (e.g., IDR 10,000 = “10000.00”)
> currencyString (ISO 4217)YESCurrency code (IDR)

Response

Response Body

KeyData TypeMandatoryDescription
response_codeStringYESResponse code (see Response Code appendix)
response_messageStringYESResponse description (see Response Code appendix)
dataObjectNoConditional parameter (present on success)
> ewallet_codeStringYESE-Wallet vendor code
> customer_numberStringYESCustomer’s e-wallet account number
> customer_nameStringYESCustomer’s e-wallet account name
> min_amountObjectYESMinimum transaction amount for this account
>> valueString (ISO 4217)YESAmount with 2 decimal digits
>> currencyString (ISO 4217)YESCurrency code (IDR)
> max_amountObjectYESMaximum transaction amount for this account
>> valueString (ISO 4217)YESAmount with 2 decimal digits
>> currencyString (ISO 4217)YESCurrency code (IDR)
> amountObjectYESNet amount received by customer
>> valueString (ISO 4217)YESAmount with 2 decimal digits
>> currencyString (ISO 4217)YESCurrency code (IDR)
> fee_amountObjectYESTotal fee per transaction charged to merchant (based on agreement)
>> valueString (ISO 4217)YESAmount with 2 decimal digits
>> currencyString (ISO 4217)YESCurrency code (IDR)
> gross_amountObjectYESTotal balance deducted from merchant account (amount + fee_amount)
>> valueString (ISO 4217)YESAmount with 2 decimal digits
>> currencyString (ISO 4217)YESCurrency code (IDR)

Examples

Request Example

{
  "account_id": "01K5G4FZZ18DMK0M5QTR8Y9QY9",
  "ewallet_code": "DANA",
  "customer_number": "085733347341",
  "amount": {
    "value": "11000.00",
    "currency": "IDR"
  }
}

Response Example - Success

{
  "response_code": "SP000",
  "response_message": "Successful",
  "data": {
    "ewallet_code": "DANA",
    "customer_number": "082199721405",
    "customer_name": "Dhany",
    "min_amount": {
      "value": "10000.00",
      "currency": "IDR"
    },
    "max_amount": {
      "value": "2000000.00",
      "currency": "IDR"
    },
    "amount": {
      "value": "21000.00",
      "currency": "IDR"
    },
    "fee_amount": {
      "value": "500.00",
      "currency": "IDR"
    },
    "gross_amount": {
      "value": "21500.00",
      "currency": "IDR"
    }
  }
}

Response Example - Error

{
  "response_code": "SP117",
  "response_message": "Beneficiary Account Not Found",
  "data": {
    "ewallet_code": "DANA",
    "customer_number": "082199722404"
  }
}

Important Notes

  • Always perform account inquiry before triggering a top-up transaction
  • For sandbox testing, you can use the following customer number: 62811742234
  • Check the min_amount and max_amount in the response to ensure your transaction is within limits
  • The gross_amount is what will be deducted from your merchant account (includes fees)
  • The amount is what the customer will receive in their e-wallet
  • Refer to the Response Code appendix for all possible response codes