PaymentMethodInput
Payment method input discriminated bytype. Supports card (token or raw), bank transfer, wallet, PIX, and boleto payment methods.
This is a discriminated union type where the shape depends on the type field.
Card with Token
Payment method type.
Tokenized card identifier from the provider.
Example
Card with Raw Details
Payment method type.
Card number (PAN).
Card expiration month (1-12).
Card expiration year (4 digits).
Card verification code (CVV/CVC).
Example
Bank Transfer
Payment method type.
Bank identifier code.
Customer’s bank account number.
Example
Wallet
Payment method type.
Wallet provider (e.g. “apple_pay”, “google_pay”).
Tokenized wallet payment data.
Example
PIX
Payment method type for Brazilian instant payments.
Example
Boleto
Payment method type for Brazilian boleto payments.
Customer’s CPF or CNPJ document number.
Example
PaymentMethodInfo
Describes a payment method supported by a provider for a given country/currency combination. Returned bylistPaymentMethods.
Payment method type identifier (e.g. “card”, “pix”, “bank_transfer”).
Provider name that supports this payment method.
Human-readable display name.
ISO 4217 currency codes this method supports.
ISO 3166-1 alpha-2 country codes this method supports.
Minimum amount in smallest currency unit, if applicable.
Maximum amount in smallest currency unit, if applicable.