Check Amount To Pay Validity
Check validity of transaction amount
POST
/v1/transactions/validityauthorization<token>
To get an API key, please contact us. We'll be happy to help you.
In: header
orderIdstring
Order ID to pay
Format
uuidamountnumber
Amount to pay; amount of tip should not be included
Response Body
application/json
curl -X POST "http://localhost:4006/v1/transactions/validity" \ -H "Content-Type: application/json" \ -d '{ "orderId": "943b7161-76d5-4ab5-aae0-c7a996ce2684", "amount": 500 }'{
"isValid": false,
"reason": "EXCESSIVE_AMOUNT",
"leftToPay": 200
}