The HTTP status code will consistently be 200 OK; however, the content of the message will vary depending on the specific status.
Due to the Otomax system's capability to exclusively process string responses, there are three distinct types of responses or callbacks that your Otomax Server may encounter.
Transaction in Progress
R#[IDTRX] [PRODUCT_CODE]. [TO] INPROGRESS. TRXID: [TRANSACTION_ID
KLIKOO]. @[CURRENT_TIMESTAMP]
Transaction Success
R#[IDTRX] [PRODUCT_CODE]. [TO] SUCCESS. SN: [SERIAL_NUMBER/TOKEN]. TRXID: [TRANSACTION_ID KLIKOO]. SISA SALDO: [BALANCE_BEFORE] - [DEDUCTION] = [BALANCE_AFTER] @[CURRENT_TIMESTAMP]&refid=[REFERENCE_ID]
Transaction Failed
R#[IDTRX] [PRODUCT_CODE]. [TO] [STATUS]. [REASON/DETAILS]. TRXID: [TRANSACTION_ID KLIKOO]. SISA SALDO: [BALANCE_BEFORE] - [DEDUCTION] = [BALANCE_AFTER] @[CURRENT_TIMESTAMP]&refid=[REFERENCE_ID]
A. Sample Response
- Reply Success
R#359912451 MXD17. 48429495 SUCCESS. SN: 4779928. TRXID: 5a8ae07d-c01c-48c1-b38a-20a1f7ea0200. SISA SALDO: 97.411.793 - 18.800 = 97.392.993 @15:25:39.484331 20/02/2024&refid=359912451
- Reply Failed
R#204900199 MXD40. 151443938 FAILED. REASON: FR_NOT_SELECTED. TRXID: 3f613573-893a-418d-90ce-2b84778e1454. SISA SALDO: 31.515.657 - 0 = 31.473.857 @18:21:31.327611 16/02/2024&refid=204900199
- Sample Response Inprogress Dana Open Denom
R#00f7ade1-68df-4d58-a7c9-297ec86e6632 DNOPEN. 081111111111 INPROGRESS. TRXID: 14430673. @15:42:50.308103 23/10/2024
- Sample Response Failed Dana Open Denom without Amount
R#00f7ade1-68df-4d58-a7c9-297ec86e6632 DNOPEN FAILED. REASON: Amount must be in numbers only. TRXID: -. @15:45:02.875417 23/10/2024
- Sample Response PLN Prepaid Success
R#13574661 PLN50. 14444941364 SUCCESS. SN: 2514-1798-8056-2280-2824/HASMALINDA/R1M/900VA/33.7. TRXID: 20356853. SISA SALDO: 13.608.663 - 50.102 = 13.558.561 @09:46:23.848418 16/12/2024&refid=13574661
- Sample Response PLN Prepaid Failed
R#9569801 PLN20. 56402040490 FAILED. REASON: . TRXID: 20356053. SISA SALDO: 17.495.479 - 0 = 17.475.377 @09:35:49.098157 16/12/2024&refid=9569801
B. Response Body
| Field | Type | Description | Example |
|---|---|---|---|
| IDTRX | string | Identifier for a transaction | “359912451” |
| PRODUCT_CODE | string | Unique identifier for the product | “MXD17” |
| TO | string | Recipient's contact number / Reference ID for the transaction | “48429495” |
| STATUS | string | Current status of the transaction | “SUCCESS” |
| SN | string | Serial number/token, occur when trx is success | “4779928” |
| TRXID | string | Unique identifier for the transaction | “5a8ae07d-c01c-48c1-b38a-20a1f7ea0200” |
| SISA_SALDO | string | The remaining balance after the transaction | "97.411.793 - 18.800 = 97.392.993" |
| CURRENT_TIMESTAMP | string | Timestamp indicating the current date | “15:25:39.484331 20/02/2024” |
| REASON | string | The information about the reason of failed transaction, occur when trx is failed | “PEMBELIAN ULANG PADA PRODUK YANG SAMA” |
| REF_ID | string | The reference ID provided in the URL | "359912451" |