Add payment method
POST/v1/payment-method
Adds a new payment method using a token from the tokenization API. Requires secret API key (sk_test_... or sk_live_...). Use the token GID returned from POST /v1/token.
Optionally include customerGid to attach the payment method to an existing customer.
Request
Responses
- 200
- 401
Payment method added successfully
Unauthorized - invalid or missing API key