Cancels a payment
Cancels a payment that is currently in the processing state. Called by
the cancel button rendered inside the payment iframe. Idempotent — a
payment in any other status is left untouched and the call still returns
200. Clients learn of the cancellation by polling payment status.
POST
/v1/marketplace/payments/{payment_id}/cancelPath Parameters
payment_id*string
Payment ID
Response Body
application/json
application/json
curl -X POST "https://api.noona.is/v1/marketplace/payments/string/cancel"Empty
{
"type": "generic_error",
"message": "Time slot is not available."
}{
"type": "generic_error",
"message": "Time slot is not available."
}