Check Balance



Is a process of checking the amount of credit owned by the client/institutional which can be used to check customer data


Partner will send data to Espay then Espay will respond with JSON format containing Partner's balance.


Flow Message

Merchant -> Espay

Method

HTTP Post

API URL

Development : https://sandbox-api.espay.id/cdd/sijitu/checkbalance
Production : https://api.espay.id/cdd/sijitu/checkbalance



Parameter Request:
Parameter Name Max Length Mandatory Description
rq_uuid 64 Yes Request identifier. Unique id to identify this message with other messages
rq_datetime 19 Yes Date and time on the Espay application server when the message was sent
sender_id 32 Yes Merchant identity code registered on the Espay app
user_id 64 Yes E-mail registered at Sijitu
organization_id 32 Yes Merchant code registered at Sijitu
signature 64 Yes Signature that must be validated by Espay. Click this for details


Parameter Response:
Parameter Name Max Length Mandatory Description
rq_uuid 64 Yes Request identifier. Unique id to identify this message with other messages
rs_datetime 32 Yes Date and time on the Espay application server when the message was sent
error_code 4 Yes Error code in web service, 0000 means success
error_message 32 Yes Error description
total_balance 17 Yes Total balance of partners at Sijitu.

Request

POST /cdd/sijitu/checkbalance HTTP/1.1 Content-Type: application/x-www-form-urlencoded Content-Length: 266 Accept: / Host: sandbox.api.espay.id rq_uuid=SALDOMUSALDOMU156834234812VKI9SK1M& rq_datetime=2019-09-13+09:39:08&sender_id=SALDOMU& user_id=hendy@gmail.com&organization_id=000&signature=aaf46a05d4a1cf7a43dfe76fac b784596ac09a84068ba34ab514817deba86e30

Response

{ "rq_uuid":"SALDOMUSALDOMU156834234812VKI9SK1M", "rs_datetime":"2019-09-13 09:39:14", "error_code":"0000", "error_message":"Success", "total_balance":"2070595" }