Skip to main content
POST
Create customer payment method

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json
type
string
required

Payment method type

Example:

"credit_card"

country_code
string
required

ISO country code for the checkout country

Example:

"US"

payment_method
object
required
default_payment_method
boolean

Whether to set this as the default payment method

billing_address
object
browser_info
object

Flat browser device fingerprint for 3DS authentication, as produced by the checkout client's getBrowserInfo() (fluid-pay-core browserInfoSchema).

payment_account
string | null

Payment account UUID override

set_customer_payment_method
boolean

When true, binds the payment method to the customer rather than the FluidPay account

Response

Success

card
object
required
fluid_pay_account
object | null
required
meta
object
required
payment_method
object
required
was_created
boolean
required
customer
object | null