Run in Apidog
The /CancelPreauthorization request is used to cancel a preauthorized payment in the case of a two-phase payment. A merchant can perform this request if it has the relevant permissions in the system. Request Body Params application/json
{
"pageData" : {
"language" : "uk"
}
}
Request Code Samples
curl --location --request POST 'https://mock.apidog.com/m1/537337-0-default/CancelPreauthorization' \
--header 'ExtSystemid: ECOM_GOLD_BANK' \
--header 'login: SECURE_LOGIN' \
--header 'password: SECURE_PASSWORD' \
--header 'orderNumber: 1234' \
--header 'orderId: dbafea6c-3394-4f6a-a0d2-21d3d8e93e42' \
--header 'RegDate: 2023-09-12 12:16:00 ' \
--header 'x-uws-clientdn: GOLDENBANK' \
--header 'charset;' \
--header 'accept;' \
--header 'Content-Type: application/json' \
--data-raw '{
"pageData": {
"language": "uk"
}
}'
Responses application/json Generate Code
{
"orderParam" : {
"orderStatus" : 3 ,
"orderId" : "f67365e0-2139-49c6-a307-1e8e31c34d8c" ,
"orderAuthParam" : {
"approvalCode" : "111644" ,
"authCode" : 3
}
}
}
Modified at 2025-06-26 12:34:37