Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"dba": {
"id": 9
},
"terminal": {
"id": 24
},
"threeds": "Disabled",
"amount": 2,
"feeType": "amount",
"fee": 2,
"externalId": "example",
"origin": "WEB",
"returnUrl": "https://example.com",
"returnUrlNavigation": "top",
"useLogo": "Yes",
"visibleNote": "Yes"
}
Request Code Samples
curl --location --request POST '/api/gateway/hosted-form' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"dba": {
"id": 9
},
"terminal": {
"id": 24
},
"threeds": "Disabled",
"amount": 2,
"feeType": "amount",
"fee": 2,
"externalId": "example",
"origin": "WEB",
"returnUrl": "https://example.com",
"returnUrlNavigation": "top",
"useLogo": "Yes",
"visibleNote": "Yes"
}'
Responses
application/json {
"code": "<div id=\"payment-form\"></div><script>(function() {var l = function() { new PaymentGateway({ target: 'payment-form', url: e.src, options: {dbaId: 9, terminalId: 24, threeds: 'Disabled', hash: 'a85785f919774e4517847b5e98e43f62', externalId: 'example', amount: '2', fee: '2', feeType: 'amount', returnURL: 'https://example.com', returnUrlNavigation: 'top', logo: 'on', visibleNote: 'Yes', requestContactInfo: 'No', requestBillingInfo: 'No', sendReceipt: 'No', origin: 'WEB'} }); };if(typeof window.PaymentGateway === 'undefined') {window.webroot = \"https://zendashboard.com\";var e = document.createElement('script'); e.async = true;e.src = window.webroot + \"/js/gateway/payment.js?v=\" + Date.now();document.getElementsByTagName('head')[0].appendChild(e);e.onload = e.onreadystatechange = function() { l(); }} else { l(); }}());</script>",
"url": "https://zendashboard.com/gateway/public/form?dbaId=9&terminalId=24&hash=a85785f919774e4517847b5e98e43f62&origin=WEB&threeds=Disabled&amount=2&fee=2&feeType=amount&requestContactInfo=No&requestBillingInfo=No&sendReceipt=No&returnURL=https%3A%2F%2Fexample.com&externalId=example&logo=on&visibleNote=Yes"
}
Modified at 2025-08-09 05:39:41