v1

latestOpenAPI 3.1.02026-07-2484125489.6 KB
payment_methods

Create a store transaction

Tokenize a payment method at the gateway.

This transaction copies the payment method information from the Spreedly vault to the gateway's vault and creates a new Spreedly payment method to represent the gateway's version. The reference to the payment method at the gateway is called a ThirdPartyToken and is a separate payment method from the original payment method. It is up to you to manage the lifecycle of these linked payment methods – Spreedly does not keep them in sync in any way.

The ThirdPartyToken is locked to the gateway where the card is stored; it cannot be used at another gateway. If you'd like a card to be used at multiple gateways, you'll need to retain the card in the Spreedly vault.

post/gateways/{gateway_token}/store

Path parameters

gateway_tokenstring required

The token of the gateway to execute against

Request body

Response

Created