Create a token
Create a token for a payment instrument.
Authorizations
You can use an OAuth2 JWT bearer token in the Authorization header of your API requests for supported endpoints: Authorization: Bearer <YOUR_JWT_HERE>.
These tokens are valid for 10 minutes and can be requested via the access token endpoint endpoint.
Headers
Idempotency key to be used. Sending again the same key would return the same result without re-executing the update.
Path Parameters
Identifier of the resource in Payrails.
Body
Id of the provider the token belongs to.
Type of the token.
network, vault, psp, networkOffers, networkGateway Unique identifier of the token in the provider's system.
Id of the configuration in the provider the token belongs to.
Any merchant or provider-specific data that should be stored for context in the token, e.g. holderReference is required for Adyen tokens.
Response
Created.
Id of the token in Payrails.
Date and time when the Token was created in Payrails.
When the Token was last updated.
Id of the payment instrument the token belongs to.
Status of the token.
created, enabled, disabled, deleted Type of the token.
network, vault, psp, networkOffers, networkGateway Id of the provider the token belongs to.
Unique identifier of the token in the provider's system.
Id of the configuration in the provider the token belongs to.
Any merchant or provider-specific data that should be stored for context in the token.