Tagih Check Point
This process is used by merchants to check if their customers have paid their transactions. Merchant will send request to Tagih.id system, then Tagih.id will respond in json format as shown below
{"invoices": {"no invoice": "status invoice"}}
Success sample response from the seller:
{"invoices": {"IN-DGI773246": "0000", "IN-DGI773247": "0001"}}
Flow
Tagih.id -> Merchant
Method
HTTP Post
API URL
http://www.yourwebsite.com/checkinvoice.php or
https://www.yourwebsite.com/checkinvoice.php
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 response |
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 that need to be validated by merchant, see page here for more detail |
invoices | JSON | Yes | Transaction’s Detail Format: {invoice_no:amount} Example: {INV001: 90000,INV002:50000} |
Parameter Response:
Parameter Name | Max Length | Mandatory | Description |
invoices | JSON | No | Transaction Details
Example: {"IN-DGI773246": "0000","IN-DGI773247": "0001"} 0000 = Success 0001 = Invoice Not Found 0002 = Invoice Is Already Paid 0003 = Invoice is rejected 0004 = Amount is not valid |