Skip to main content
This page is part of the REST API Guides. Card capture happens in the frontend through the Payments Library; see the Payments Library Guides.
Prerequisites: API key and Payment Gateway Account configured. The charge operation captures funds from a card immediately. Use this for standard purchases where you’re ready to fulfill the order.
Some payment processors require additional parameters. See the Additional Guidance section for processor-specific requirements.

Basic Charge

The standard integration charges a token captured by the Payments Library. Reference it in the cardNumber field with an @ prefix; cvv is optional and can be left out for a tokenized card.

API Reference

Complete parameter reference, response fields, and validation rules
The token replaces the card number only. You still send cardHolderName, expirationMonth, and expirationYear. When tokenizing through the library, these are returned alongside the token in tokenAndMaskedCardModel.bankCard. See Tokenization for creating tokens with StringTokens directly.
If your backend already lawfully holds card data and needs to send it directly, see Sending Raw Card Details (Non-Standard) below.

Using Inline Credentials

Instead of a stored Payment Gateway Account, you can provide credentials inline:

Adding Failover

Orchestra’s multi-gateway failover automatically retries a charge on a backup gateway if the primary fails. For charge requests, failover isn’t a field you pass in the request body: it’s configured on your Payment Gateway Account setup.

Contact Support

Email support@orchestrasolutions.com to enable multi-gateway failover for your charge requests.
See Multi-Gateway Failover for how Orchestra’s failover mechanism works, including a self-serve example on the eWallet checkout session endpoint.

Charge vs Authorize

If you need to hold funds without capturing immediately, use Authorize & Capture instead.

Sending Raw Card Details (Non-Standard)

These examples show raw card details for completeness. Sending raw card data means it passes through your systems and puts you in PCI DSS scope. The standard integration captures the card with the Payments Library and references it here as a token (an @TOKEN value in the cardNumber field); see Basic Charge above.

Refunds & Voids

Reverse or cancel this charge

Authorize & Capture

Hold funds and capture later

Tokenization

Store card numbers securely