API Reference

Charge COF - auto capture - Stripe

STRIPE: Charge card-on-file. Auto capture.

This document is for the STRIPE integration.

Step 1: Create intent

When creating an intent with a card on file, you need both payment_method_id and external_customer_id

// POST /v1/payment/intent
{
    external_account_id: "account_12345",
    amount: 12.99,
    payment_method_types: 'card',
    capture_method: 'automatic',
    external_transaction_id: "transaction_12345",
    payment_method_id: "pm_123456",
    external_customer_id: "customer_12345"
  }