Skip to main content
POST
View/update payment method (POST)

Authorizations

X-API-Key
string
header
required

Preferred authentication method. Pass the API key in the X-API-Key HTTP request header. The user account must have api_status enabled.

Body

application/json
id
integer

Payment method ID.

payment_method_type
string

Payment method type code (e.g. bank_wire, paypal).

details
object

Payment method details (structure varies by type).

is_primary
boolean

Whether this is the primary payment method.

supported_currencies
string[]

List of supported currency codes for this payment method.

Response

Payment method details or updated.

status
string
Example:

"success"

code
integer
Example:

200

name
string
Example:

"OK"

message
string
info
object

Payment method details.