Create a purchase transaction

Charge a payment method a specific amount at the target gateway. One of the following payment methods must be included in the request:

Tokenized payment method: Charge a tokenized payment method (already stored in the Spreedly environment) the specified amount. The payment method can be of any type (credit card, bank account, Apple Pay, etc…), as long as it exists in the specified environment.

The payment_method_token field of the transaction request is required.

Pass-in credit card: Pass a credit card payment method directly in to the purchase request. If the card is valid, it will automatically be tokenized at Spreedly before sending to the gateway.

The credit_card field of the transaction request is required.

Pass-in bank account/ACH: Pass a bank account/ACH payment method directly in to the purchase request. If the bank account is valid, it will automatically be tokenized at Spreedly before sending to the gateway.

The bank_account field of the transaction request is required.

Pass-in Apple Pay: Pass an Apple Pay payment method directly in to the purchase request. If the Apple Pay data is valid, it will automatically be tokenized at Spreedly before sending to the gateway.

The apple_pay field of the transaction request is required.

Pass-in Google Pay: Pass a Google Pay payment method directly in to the purchase request. If the Google Pay data is valid, it will automatically be tokenized at Spreedly before sending to the gateway.

The google_pay field of the transaction request is required.

SCA Authenticated: Charge an SCA Authenticated payment method (already stored in the Spreedly environment) the specified amount.

The sca_authentication_token field of the transaction request is required.

Language
Credentials
Basic
base64
: