| Field Code | Field Name | Type | Required | E.g. |
|---|---|---|---|---|
| paymentType | payment type; CASH | String | Required | CASH |
{
"amount": "20",
"callbackUrl": "http://localhost:8082/india-merchant/core/callback",
"currency": "DOP",
"email": "angjsadasfa123@gmail.com",
"firstname": "AN jdasda",
"lastname": "safa",
"mchOrderId": "2371831j2h2111211",
"phone": "+525535571415",
"productinfo": "your pro simple desc",
"paymentType": "CASH"
} curl --location --globoff 'https://{{base_url}}/gateway/base/biz' \
--header 'method: pay' \
--header 'signType: SHA512' \
--header 'serviceName: api.pay' \
--header 'mchId: 1416010331032883200' \
--header 'timestamp: 1631671670' \
--header 'sign: 32554324534545432543' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": "20",
"callbackUrl": "http://localhost:8082/india-merchant/core/callback",
"currency": "DOP",
"email": "angjsadasfa123@gmail.com",
"firstname": "AN jdasda",
"lastname": "safa",
"mchOrderId": "2371831j2h2111211",
"phone": "+525535571415",
"productinfo": "your pro simple desc",
"paymentType": "CASH"
}'{
"resultCode": "000000",
"errorCode": "000000",
"errorMsg": null,
"data": [
{
"orderId": "202608272093057760567037952",
"currency": "DOP",
"checkoutUrl": "https://checkout.tdaypay.com/gateway/base/pay/adedebfa1287f741369540e2798dbbcc4a3d16f180dc60ebb33839978f8d165f9adfae5f4dc0b26da8087af8c3d41b00108f59b07fb53c754d8c2d9a15096972"
}
],
"success": true
}