Manza::Resources::Beneficiaries
Inherits Manza::Resources::Base < Reference < Object
Saved transfer recipients. Each beneficiary embeds its bank
accounts; the one flagged default is used when a transfer names
only the beneficiary_id. There is no update or delete via the API.
Instance methods
POST /api/beneficiaries
Keys: beneficiary_type ("individual" | "business"; inferred from
person_name / company_name when omitted), person_name,
company_name, email, phone_number. Values must be strings. Shares
a 10/minute limit with #create_external_account.
POST /api/beneficiaries/:beneficiary_id/external_accounts
Required: account_number. Optional: name, country_code, currency_code, account_type ("bank" only), bank_identifier (required in ZA, rejected in MA, where it is derived from the RIB).
GET /api/beneficiaries/:beneficiary_id/external_accounts/:id