Skip to main content
POST
Create payment method

Headers

x-api-key
string
Example:

"0LybWR49k95cCwYh3cu0waCYoh4H2Eux2J52wn4k"

Body

application/json
type
enum<string>
default:card
Available options:
au_becs_debit,
bacs_debit,
bancontact,
card,
eps,
fpx,
giropay,
ideal,
p24,
sepa_debit
Example:

"card"

metadata
object
Example:
card
object
billing_details
object

Response

Created payment method

id
string
Example:

"pm_1Ij5zBJxr7zyIFb9u3cfbHJG"

object
string
Example:

"payment_method"

card
object
created
number
Example:

1619111201

customer
string
Example:

null

livemode
boolean
Example:

false

metadata
object
type
string
Example:

"card"

billing_details
object