payment_methods

Create a store transaction

Changed on

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

Request

Path parameters

gateway_tokenstring required

The token of the gateway to execute against

Request body

Response

Created

Changes

    • info

      added the new optional request property / (media type: application/json)

    • info

      added the new optional request property / (media type: application/xml)

    • info

      added the new optional request property / (media type: application/json)

    • info

      added the new optional request property / (media type: application/xml)

    • info

      added the new optional request property / (media type: application/json)

    • info

      added the new optional request property / (media type: application/xml)

    • info

      added the new optional request property / (media type: application/json)

    • info

      added the new optional request property / (media type: application/xml)

    • info

      added the optional property / to the response with the status (media type: application/json)

    • info

      added the optional property / to the response with the status (media type: application/xml)

    • info

      added the optional property / to the response with the status (media type: application/json)

    • info

      added the optional property / to the response with the status (media type: application/xml)

    • info

      added the optional property / to the response with the status (media type: application/json)

    • info

      added the optional property / to the response with the status (media type: application/xml)