Create payment method
POST/v1/payment_methods
Creates a payment method tied to a billing account. For type=card, send the card block with the cardToken produced by client-side tokenization. For type=bank_transfer, send the bankAccount block. For bank_slip and pix, only the type is required — the default gateway is resolved from the organization.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 422
- 429
- 500
Payment method created.
Request body failed validation.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation.
Resource not found in the current organization.
Request body failed validation.
Rate limit exceeded.
Unexpected server error.