API referencePlugin contractFunctions
Quote Payment Surcharges
POST
/functions/quote-payment-surchargesRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
amount*
connections*array<>
Items
1 <= itemsResponse Body
application/json
curl -X POST "https://example.com/functions/quote-payment-surcharges" \ -H "Content-Type: application/json" \ -d '{ "amount": { "amountMinorUnits": "string", "currency": "AED" }, "connections": [ "string" ] }'[ { "connectionId": "string", "adjustmentId": "string", "amountInMinorUnits": "string", "description": "string" }]