API Reference

Save COF - CNP - Summary - Stripe

STRIPE: Saving card-on-file when card is present

This document is for the STRIPE integration.

Overview

When making payments with web components for manual card entry or web checkout, there are times where you would also like to capture the card for future use. Some refer to this as saving the card-on-file (COF) and others refer to this as tokenizing the card. Use cases might be where you are saving the card to the customers account for future use or where you might be doing re-occurring payments for a service or subscription.

You will first need a payment intent. You would set the allow_saving_card parameter to true unless you are also setting external_customer_id.

external_customer_id is not required when creating the payment intent, but is required when saving the card on file.

Examples

https://quilt-payment-api.readme.io/reference/save-cof-cnp-manual-capture-customer-later
Save a card-on-file when card is not present. Manual capture the payment method and attach the customer with the intent.

https://quilt-payment-api.readme.io/reference/save-cof-cnp-no-payment-collected
Save a card-on-file when card is not present. Collect payment without charging an amount.