Save a payment method token

POST

Save a SINGLE_USE payment method token so it can be used again later.

If you try to vault an already vaulted token, you will get the existing vaulted token back.

Path parameters

paymentMethodTokenstringRequired

Payment method token to store.

Request

This endpoint expects an object.
customerIdstringRequired

The ID representing the customer

Response

This endpoint returns an object.
analyticsIdstringOptional

Unique analytics identifier corresponding to a payment method

createdAtdatetimeOptional

Creation date & time of the object (UTC)

customerIdstringOptional

The ID representing the customer

defaultbooleanOptional

Whether or not this payment method is the default

deletedbooleanOptional

Whether or not this object has been revoked.

deletedAtdatetimeOptional

Date & time when this object was revoked. (UTC)

descriptionstringOptional

A friendly description given by the user

isVerifiedbooleanOptional

Whether or not this payment method was verified

paymentMethodDataobjectOptional

Payment method data

paymentMethodTypeenumOptional

Payment method type associated with a token.

tokenstringOptional

The vaulted payment method token.

tokenTypestringOptional
  • MULTI_USE a vaulted token that can be re-used with subsequent payments

Errors