Authorize a payment method token

Authorize a payment method to be charged a specific amount at the target gateway. No funds are taken with an authorize – a follow-up capture transaction is required to actually move the funds.

The referenced gateway must exist in the environment whose environment key is being used to authenticate the API call.

Tokenized payment method: Authorize a Payment Method Token (already stored in the Spreedly environment) to be charged a specific amount.

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 into 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: Authorize an SCA Authenticated payment method (already stored in the Spreedly environment) to be charged a specific amount.

The sca_authentication_token field of the transaction request is required.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The token of the gateway to execute against

Body Params
transaction
object
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Choose an example:
Network Token Provisioned
Network Token Provision Failed
Network Token Attempted
Network Token Attempted Error
application/json