POST/build/confirm_payment
PROD
https://xpay.nexigroup.com/api/phoenix-0.0/psp/api/v1/build/confirm_payment
TEST
https://xpaysandbox.nexigroup.com/api/phoenix-0.0/psp/api/v1/build/confirm_payment
This API must be invoked to confirm the payment. It is limited to XPay Build service version 2.
PARAM HEADER
NAME | DESCRIPTION | FORMAT | |||||||
|
PARAM PATH
NAME | DESCRIPTION | FORMAT | |||||||
|
PARAM QUERY
NAME | DESCRIPTION | FORMAT | |||||||
|
PARAM BODY
NAME | DESCRIPTION | FORMAT | ||||||||||||
|
RESPONSE 200
The returned states can be:
- PAYMENT_COMPLETE: meaning that the payment flow reached the end with failure. The operation field describes in detail the payment result.
- REDIRECTED_TO_EXTERNAL_DOMAIN: This happens in case of a payment performed with alternative payment methods. In this case, the user's browser shall be redirected to the url indicated in the field 'url'.
- GDI_VERIFICATION: the service returns a fieldSet composed by a unique field dedicated to gdi verification and the sessionId. The ecom platform shall set an hidden internal frame to navigate to the provided URL. Once the GDI verification is completed, the internal frame will send a postMessage indicating the next step of the flow that can be either a URL to perform the 3DS challenge or the final result of the payment.
- No Header for this response
BODY
NAME | DESCRIPTION | FORMAT | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
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 500
Internal Server Error - No Header for this response
BODY
NAME | DESCRIPTION | FORMAT | ||||||||||||||||||||||
|