ApiPayments
Cancel payment session
Cancels an active payment session. Any reserved credits are released.
Authorization
Bearer AuthorizationBearer <token>
Enter your bearer token from the Pylon Auth API.
In: header
Path Parameters
id*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://loading/api/v1/payments/sessions/497f6eca-6276-4993-bfeb-53cbbbba6f08/cancel" \ -H "Content-Type: application/json" \ -d '{ "reason": "Complimentary" }'Empty
{
"code": "string",
"message": "string"
}