Reuse Payment Methods
Allow your customers to reuse their saved payment methods in Custom Checkout.
Custom Checkout allows customers to reuse their saved EBT payment methods for faster PIN capture. Unlike Fully Hosted Checkout, Custom Checkout does not create or manage payment methods directly. You create and store payment method references via the Forage API.
Payment Method SupportCustom Checkout only supports EBT payment methods (SNAP and EBT Cash). Credit/debit card is not supported.
Reuse EBT payment methods
When you create a Payment Method via the Forage API, the ref field is reusable. You store this reference in your application's database and use it when creating subsequent orders for the same customer.
How it works
- Create a Payment Method via the Forage API when the customer first adds their EBT card.
- Store the
ref(payment method ref) (e.g.,ac47392xb2) in your customer database.
Balance check
To perform a balance check:
- Create a Balance Session via the Forage API. Pass the stored payment method ref as the
payment_methodfield in the payload of the request. - Redirect to the
redirect_urlthat comes in the response of the previous API call. - The customer enters their PIN to check their balance.
The customer's EBT balance is displayed.
Process a payment
To process a payment:
- Create a Capture Session via the Forage API. Pass the stored payment method ref in the
payment_methodfield of thepayment_detailsobject. - Redirect to the
redirect_urlthat comes in the response of the previous API call. - The customer enters their PIN to process the payment.
The payment is processed and the order is completed.
Updated 3 days ago
