Skip to content

Cancels a payment session

Request

POST {{baseURL}}/pay-int-api/payment-sessions/{{paymentSessionId}}/cancel

See Also:
To create a payment session, see POST /pay-int-api/payment-sessions.
To retrieve payment session details by ID, see GET /pay-int-api/payment-sessions/{paymentSessionId}.

Security
Bearer
Path
paymentSessionIdstring, (uuid)required

Specifies the identifier of the payment session to cancel.

Example:bac48037-8e9f-4a0b-1c2d-3e4f5a6b7c03
Headers
x-api-versionstring

Specifies the API version to use for the request.

Example: 1.0

Example:1.0
// Language is not supported.

Responses

Payment session cancelled successfully

Response
No content