POST/build/cancel
PROD
https://xpay.nexigroup.com/api/phoenix-0.0/psp/api/v1/build/cancel
TEST
https://xpaysandbox.nexigroup.com/api/phoenix-0.0/psp/api/v1/build/cancel
Cancel a payment session XPay Build. Once a session is invalidated, any further submissions of requests related to the canceled session are destined to fail. Therefore, it will be necessary to invoke the API POST /orders/build for the generation of a new sessionId. This API can be applied to a payment cancellation button placed in the merchant's checkout: it is not mandatory to implement the API; in case it is not used, any session will be invalidated upon session expiration (5 minutes).
PARAM HEADER
| NAME | DESCRIPTION | FORMAT | ||||||||||||
|
||||||||||||||
PARAM PATH
| NAME | DESCRIPTION | FORMAT | |||||||
|
|||||||||
PARAM QUERY
| NAME | DESCRIPTION | FORMAT | |||||||
|
|||||||||
PARAM BODY
sessionRequest
| NAME | DESCRIPTION | FORMAT | |||||||
|
|||||||||
RESPONSE 200
Request successfully processed - No Header for this response
BODY
| NAME | DESCRIPTION | FORMAT | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RESPONSE 201
Created - No Header and Body for this response
RESPONSE 400
Invalid request data - No Header for this response
BODY
| NAME | DESCRIPTION | FORMAT | ||||||||||||||||||||||
|
||||||||||||||||||||||||
RESPONSE 401
Unauthorized - No Header and Body for this response
RESPONSE 403
Forbidden - No Header and Body for this response
RESPONSE 404
Not Found - No Header and Body for this response
RESPONSE 500
Internal Server Error - No Header for this response
BODY
| NAME | DESCRIPTION | FORMAT | ||||||||||||||||||||||
|
||||||||||||||||||||||||