Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

advocate_id
string
required

The advocate's Reditus ID (UUID) or your internal user ID (uid)

Body

application/json
payment_type
enum<string>
required

The type of payment method to set

Available options:
paypal,
iban
paypal_email
string

The PayPal email address. Required when payment_type is 'paypal'.

iban
string

The IBAN number. Required when payment_type is 'iban'.

first_name
string

The advocate's first name. Optional.

last_name
string

The advocate's last name. Optional.

Response

Payment method saved successfully

data
object