Create a token

Create a token for a payment instrument.

Path Params
uuid
required

Identifier of the resource in Payrails.

Body Params
uuid
required

Id of the provider the token belongs to.

uuid

Id of the configuration in the provider the token belongs to.

string
enum
required

Type of the token.

Allowed:
string
required

Unique identifier of the token in the provider's system.

meta
object

Any merchant or provider-specific data that should be stored for context in the token, e.g. holderReference is required for Adyen tokens.

Headers
uuid
required

Idempotency key to be used. Sending again the same key would return the same result without re-executing the update.

Responses

Language
Credentials
Bearer
JWT
Response
Choose an example:
application/json