Merchant Payment Notification

This process is used by merchants to send transaction payment notifications that are recorded on Tagih.id system but were not paid through Tagih.id. Merchants will send requests to Tagih.id system, and Tagih.id will respond in JSON format as shown below:

Flow

Merchant -> Tagih.id

Method

HTTP Post

API URL

Development : https://sandbox-api.espay.id/rest/tagih/merchantpaymentnotif

Production : https://api.espay.id/rest/tagih/merchantpaymentnotif


Parameter Request:
Parameter Name Max Length Mandatory Description
rq_uuid 64 Yes Request identifier. Unique id to identify these messages with other messages
rq_datetime 19 Yes Local date time Tagih.id server when messages are replied
comm_code 32 Yes Merchant community code listed in the Tagih.id application
member_code 20 Yes Merchant member code listed in the Tagih.id application
signature 64 Yes Signature generated by merchant to be validated by Tagih.id, see page here for more detail
tx_id 32 Yes Transaction Number / unique id that identifies the order / billing / invoice.
tx_date 19 Yes Date of the payment that will be executed
Format: yyyy-MM- dd hh:mm:ss
invoices JSON Yes Transaction's Detail
Format: {invoice_no:amount}
Example: {INV001: 90000,INV002:50000}
bank 25 No Destination bank name
payment_type 25 No Customer’s selected payment method
Example: cash, VA, CC, etc

Parameter Response:
Parameter Name/td> Max Length Mandatory Description
q_uuid 4 Yes Request identifier. Unique id to identify these messages with other messages
rs_datetime 32 Yes Local date/time Tagih.id server when messages are replied
error_code 4 Yes Error code of web service, 0000 means success
error_message 32 Yes Error description
invoices JSON No Transaction's Detail
Example: {"IN-DGI773246": "Success"}
total_invoice 5 No Total invoices to be sent
total_success 5 No Total Invoices successfully processed
total_error 5 No Total Invoices that failed to be processed





























































Sample response:

{ { "rq_uuid": "baefa025e0ca44861a9076c8Z83fccxx", "rs_datetime": "2018-02-27 11:57:45", "error_code": "0000", "error_message": "Success", "invoices": { "IN-DGI773246": "Success" }, "total_invoice": 1, "total_success": 1, "total_error": 0 }