Integration
Multi Card Integration
A step-by-step guide to integrating the Hands In Multi Card Payment Method
Get MarkdownPre-requisites
- Setup your Hands In account - You must have created and set up a Hands In account before following this tutorial
- API Authentication - You must have retrieved your sandbox or live API key
How it works
Server-to-server integration steps
- Create a multi card payment session —
POST /v1/multi-card-paymentswith the total inamountMoney, a uniqueidempotencyKey, and optionally your ownreferenceId. See Create a Multi Card Payment Session for full request and response examples. - Send the customer to the hosted checkout — take the
urlfrom the response and redirect the customer, open it in a new tab, embed it in an<iframe>, or send it to them by email or SMS. - Receive the outcome — subscribe to the multi card webhook events so your system is told when the session is approved, completed, expired or cancelled. If you cannot receive webhooks, poll Retrieve a Multi Card Payment Session instead.
- Reconcile the individual card payments — each payment carries its own
referenceId. See Reconcile Multi Card Payments.