novinzodevelopers
API referencePlugin contractFunctions

Cancel Hosted Payment

POST/functions/cancel-hosted-payment

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

storeId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
payment*

Response Body

application/json

curl -X POST "https://example.com/functions/cancel-hosted-payment" \  -H "Content-Type: application/json" \  -d '{    "storeId": "string",    "payment": {      "paymentId": "string",      "externalId": "string"    }  }'
{  "ok": true}