Skip to main content

Topup Inquiry Status

Specification

The Following tabel is spesification for this API :

API NameInquiry Status
FunctionThis API is used for merchant to do inquiry status topup customer account via Paydia Bisnis
Service Code39
MethodPOST
URL/snap/v1.0/emoney/topup-status
Acceptapplication/json
Content Typeapplication/json
Related ServiceCustomer Topup

Request

The following part will be describe about parameter of request in this API:

Request Parameter

The following table is a list of request parameter in this API:

The following table is Header of Request Parameters :

NoNameTypeLengthRequiredConditionRemarks
1Content-TypeStringVariable, 127 maxMandatory-Content type, value always application/json
2AuthorizationStringVariableMandatory-Contains B2B Bearer JWT Token, you've got it from Access Token B2B
3X-TIMESTAMPStringFixed, 25 maxMandatory-Transaction date time, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
4X-PARTNER-IDStringVariable, 36 maxMandatory-ID for partner was generated by Paydia. Unique ID for a partner
5X-EXTERNAL-IDStringVariable, 36 maxMandatory-Unique messaging reference ID generated by merchant. Numeric String. Reference number that should be unique in the same day
6CHANNEL-IDStringVariable, 5 maxMandatory-Device identification on which the API services is currently being accessed by the end user (customer)
7X-SIGNATUREStringVariableMandatory-Signature need to be generated with Symmetric Signature method

Body

The following table is a body of request parameter:

NoNameTypeLengthRequiredConditionRemarks
1originalPartnerReferenceNoStringVariable, 64 maxMandatory-Original transaction identifier on service consumer system
2originalReferenceNoStringVariable, 64 maxOptional-Original transaction identifier on service consumer system
3originalExternalIdStringVariable, 32 maxOptional-Original External-ID on header message
4serviceCodeStringVariable, 2 maxOptional-Transaction type indicator (service code of the original transaction request)

Request Sample

The following script is a request sample of this API:

POST /snap/v1.0/emoney/topup-status
X-TIMESTAMP: 2024-08-03T16:26:29+07:00
X-PARTNER-ID: 4abbcb6ce30229994c76169006e0dc9c
X-SIGNATURE: 5zN3rYCum3jcNrv/jUeJpofs3rpngIQjxGzpp0hrJa6oAsPG0GW/kfoOGIVDL6LXFdpryzYnQEbunfN+ZlcW8Q==
X-EXTERNAL-ID: 1722677262
CHANNEL-ID: 412
Content-Type: application/json
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJQYXlkaWEiLCJpYXQiOjE3MjI2NzM0NzksImV4cCI6MTcyMjc1OTg3OSwiZGF0YSI6eyJlbnYiOiJwcm9kdWN0aW9uIn19.S6vpO_TFlsIgbUN3H3Hq7yDjhka1g3unLnOrDbDvWF0

{
"originalPartnerReferenceNo": "ef31dae0-168a-4005-92d3-67b6363e03f9",
"originalReferenceNo": "1c0c8fab-f3a9-49eb-9664-a66f4c9fc7ee",
"serviceCode": "38"
}

Response

The following part will be describe about parameter of response in this API:

Response Parameter

The following table is a list of response parameter in this API:

Body

The following table is a body of response parameter:

NoNameTypeLengthRequiredConditionRemarks
1responseCodeStringFixed, 7 maxMandatory-Refer to response code list
2responseMessageStringVariable, 150 maxMandatory-Refer to response code list
3originalReferenceNoStringVariable, 64 maxOptional-Transaction identifier on Paydia system
4originalPartnerReferenceNoStringVariable, 64 maxMandatory-Transaction identifier on partner system
5originalExternalIdStringVariable, 32 maxMandatory-Original External-ID on header message
6serviceCodeStringVariable, 2 maxMandatory-Transaction type indicator (service code of the original transaction request)
7transactionDateStringVariable, 25 maxMandatory-Transaction date, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
8amountMoneyVariableMandatory-Amount. Contains two sub-fields:
  1. Value: Transaction amount, including the cents
  2. Currency: Currency code based on ISO
9latestTransactionStatusStringFixed, 2 maxMandatory-Transaction status. Contains values:
  • 00: Success
  • 03: Pending
  • 06: Failed
10transactionStatusDescStringVariable, 32 maxMandatory-Transaction status description. Contains values:
  • 00: Success
  • 03: Pending
  • 06: Failed
11additionalInfoJSON ObjectVariableMandatory-Additional information

Response Sample

The following script is a response sample of this API:

{
"responseCode": "2003900",
"responseMessage": "Successful",
"originalReferenceNo": "1c0c8fab-f3a9-49eb-9664-a66f4c9fc7ee",
"originalPartnerReferenceNo": "ef31dae0-168a-4005-92d3-67b6363e03f9",
"originalExternalId": "1722677179",
"serviceCode": "38",
"transactionDate": "2024-08-03T16:26:21+07:00",
"amount": {
"value": "20000.00",
"currency": "IDR"
},
"latestTransactionStatus": "00",
"transactionStatusDesc": "Success",
"additionalInfo": []
}

Response Code and Message

The following table is the list response code and message of Account Inquiry API:

NoResponse CodeResponse MessageRemarks
12003900SuccessfulSuccess to be processed
24003901Invalid Field FormatInvalid format for certain field
34003902Invalid Mandatory FieldMissing or invalid format on mandatory field
44013900Unauthorized. [reason]General unauthorized error
54013901Invalid Token (B2B)Invalid or Expired Access Token
64043901Transaction Not FoundTransaction not found
75003902Backend system failure500 internal server error