Create an authorization with workflows

Spreedly's workflow service will determine which gateway the transaction will be processed based on the workflow evoked and send normalized fields depending on what the gateway supports. A workflow_key should be sent in the request body or left as null to evoke the Default Workflow set in your Spreedly environment.

To learn more about how to enable workflows, please contact Spreedly at [email protected].

Pass a credit card payment method directly into the authorize request. If the card is valid, it will automatically be tokenized at Spreedly before sending to the gateway. No funds are taken with an authorize - a follow-up capture transaction is required to actually move the funds.

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 authorize 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 Apple Pay: Pass an Apple Pay payment method directly in to the authorize 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 authorize 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.

Default workflow: Use the default workflow for the environment that is set in app.spreedly.com

The workflow_key field is not required to be passed in for this type of request.

Language
Credentials
Basic
base64
: