Create a token
POST/v1/token
Creates a payment token for card or bank account details. Use the public API key (pk_test_... or pk_live_...) in the x-api-key header. The returned token GID can be used to create a payment method.
Note: Tokens are short-lived and will expire in 1 minute. Please pass the token GID to your backend immediately to create a payment method.
Request
Responses
- 200
- 401
Token created successfully
Unauthorized - invalid or missing API key