Skip to main content

Open a hosted card session

POST 

/api/v1/payment/card/initSession

Creates a hosted session on the card gateway. Called from the payer's browser or app; no credential. The reference is required and must be a collection that can still be paid: a missing, unknown, deleted, cancelled, already paid or payout reference answers 400 and opens no session. The session is created on the project's own gateway account and on the right gateway (test for a test-mode project, live for a live one).

Request​

Responses​

Session created