| Field Code | Field Name | Type | Required | E.g. |
|---|---|---|---|---|
| paymentType | payment type; QRIS | String | Required | QRIS |
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": "15",
"callbackUrl": "https://webhook.site/41de4e56-1601-4252-a415-59e9711180f2",
"currency": "BOB",
"email": "test@test.com",
"firstname": "your firstname",
"lastname": "your lasttname",
"paymentType":"QRIS",
"mchOrderId": "8237183718371",
"phone": "9324324352",
"productinfo": "goods1"
}'{
"resultCode": "000000",
"errorCode": "000000",
"errorMsg": null,
"data": [
{
"qrCodeString": "iVBORw0KGgoAAAANSUhEUgIMCPIAgC/AiCIMCPIAgC/AiCIMCPIAjCL/4Po5QF7fyskH4AAAAASUVORK5CYII=",
"orderId": "202608272093057760567037952",
"currency": "BOB",
"checkoutUrl": "https://checkout.tdaypay.com/gateway/base/pay/adedebfa1287f741369540e2798dbbcc4a3d16f180dc60ebb33839978f8d165f9adfae5f4dc0b26da8087af8c3d41b00108f59b07fb53c754d8c2d9a15096972"
}
],
"success": true
}