Hosted Fields Checkout
A 2-step recipe with Interswitch. We can help you get access.
Recipe · 2 steps
Hosted Fields Checkout
with Interswitch
Create a hosted-fields session, then confirm the resulting payment.
- Create a hosted-fields session so the browser can collect raw card data and POST it directly to Interswitch, keeping the merchant out of PCI scope.
- Read the payment produced by the hosted-fields submission to confirm its authoritative final status.
What you'll need to have ready
- accessToken: Bearer access token from the Passport OAuth token endpoint.
- transactionRef: Unique merchant transaction reference.
- amount: Amount in minor currency units.
- currency: ISO currency code.
- redirectUrl: URL the hosted-fields page redirects to after capture.
- paymentId: Payment id produced by the browser-side hosted-fields submission.
For your developer
Arazzo workflow interswitch:hosted-fields-checkout, 2 operations: createHostedFieldsSession → getPayment. Specs on APIs.io.