Gyvar docs

Create a beneficiary

Saves a recipient so you can pay them by `beneficiary_id`. Returns the saved one if this account is already saved: 201 when created, 200 when it already existed. Where the corridor has name lookup, the account is checked and the looked-up name is stored. `GET /corridors` lists the fields each method needs. Needs the `money` capability.

POST
/beneficiaries

Authorization

KeyID Timestamp Nonce Signature
X-Gyvar-Key<token>

Your key id, gyv_k_live_... or gyv_k_sandbox_....

In: header

X-Gyvar-Timestamp<token>

Unix seconds. Must be within 5 minutes of our clock.

In: header

X-Gyvar-Nonce<token>

A unique value per request. Replays are rejected.

In: header

X-Gyvar-Signature<token>

Ed25519 signature over the canonical string. See the Signing guide.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

type*string

Value in

  • "bank"
  • "mobile_money"
  • "paybill"
  • "paytill"
  • "swift"
  • "ach"
  • "wire"
country*string
currency*string
account_number*string
bank_code?string

Bank code, or the network for mobile money.

business_code?string

The second identifier, for M-Pesa paybill.

bank_swift_code?string

Optional. The bank's SWIFT code, for Ghana bank accounts only.

account_name?string

The account holder's name. Needed where the corridor has no name lookup; elsewhere the looked-up name is used.

label?string

Your note for this recipient.

customer_id?string

Optional. The customer this recipient belongs to.

Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/beneficiaries" \  -H "Content-Type: application/json" \  -d '{    "type": "mobile_money",    "country": "GH",    "currency": "GHS",    "account_number": "0244567890",    "bank_code": "MTN",    "label": "Ama - MoMo"  }'
{  "data": {    "id": "8d2f4b61-0e9a-4c37-b5d8-1a6e3f9c2b70",    "type": "mobile_money",    "country": "GH",    "currency": "GHS",    "account_masked": "**** 4567",    "label": "Ama - MoMo",    "bank_code": "MTN",    "name_verified": true,    "usable": true,    "created_at": "2026-08-20T14:02:11Z"  }}