Bind a payment to the card session
POST/api/v1/payment/card/prepare/:session/:reference
Opens a new attempt (its own gateway order, reference-Cn) and writes the order, the amount read from the payment, the 3D Secure channel and the return URL onto the session. Returns what three-ds.js must be configured with. No credential; the amount is never taken from the caller unless card part payments are enabled.
Request
Responses
- 200
- 400
Session prepared
Payment not found, Only collections can be paid by card, This payment has already been paid, the request was cancelled, an earlier capture is still being confirmed with the bank, the gateway refused the session, or a part amount refused