Skip to main content
POST
Save a recipient’s account details as a beneficiary. The payment_data fields depend on the payout method. Get them from GET /beneficiary/form/show/{payment_method_id}. Use the returned id in payouts and quotes.
Requires an Idempotency-Key header.

Payment data examples

Authorizations

X-Api-Key
string
header
required

Your API key (yativo_pk_...) from Developers → API Keys. Send together with X-Api-Secret.

X-Api-Secret
string
header
required

Your API secret (yativo_sk_...), shown once when the key is created.

Headers

Idempotency-Key
string
required

A unique string per request to ensure idempotent processing.

Body

application/json
gateway_id
integer
required

The ID of the payout method (gateway) to use. Obtain available IDs from the payout methods endpoint.

payment_data
object
required

Key/value pairs of account details required for this payment method. The fields vary depending on the selected gateway_id.

currency
string
required

Currency code for this payment method (e.g. CLP, MXN, BRL).

Example:

"CLP"

nickname
string
required

A label to identify this payment method.

Response

200 - application/json

Payment method added

status
string
data
object