Request EDC
Specification
- The following table is a specification of this API:
| Name | Description |
| API Name | EdcPayment |
| Function | This API is used to request EDC |
| Method | POST |
| URL | /edc/bca/payment |
| Accept | application/json |
| Content Type | application/json |
| Related Service | |
| Expected Timeout | 8 second |
Request Parameters
| Name | Type | Required | Remarks |
| partnerReferenceNo | string(50) | Mandatory | Transaction no generated by the merchant |
| amount | Money | Mandatory | amount |
| merchantId | string | Mandatory | Paycools Merchant Id |
| terminalId | string | Mandatory | Terminal Id |
| transType | string | Mandatory | transType,Support: - CARD: Support Debit/Credit/QRIS Tap/Flazz Payment
- QRIS
- QRIS REFUND
- VOID
|
| additionalInfo | AdditionalInfo | Mandatory | Additional Info |
Response Parameters
| Name | Type | Required | Remarks |
| responseCode | string(50) | Mandatory | Code |
| responseMessage | string(128) | Mandatory | Message |
| referenceNo | string | Mandatory | paycools Transaction No |
| partnerReferenceNo | string(50) | Mandatory | Merchant request number, customer transaction number |
| transType | string | Mandatory | Trans type |
| amount | Money | Mandatory | amount |
| createdDate | string | Mandatory | Transaction create time, Date format: YYYY-MM DDTHH:MM:SS+07:00 |
| additionalInfo | AdditionalInfo | Mandatory | Additional Info |