VeyqoDEVELOPERS
DocumentationPOST Save a beneficiary

Transfers API

POST/beneficiaries

Save a beneficiary

Checks the account by name enquiry and saves it, so you can send to it with `beneficiary` instead of bank details. Saving the same account again returns the saved one. Every transfer to it is still checked: one whose name has changed is refused.

POSThttps://api.veyqo.org/api/v1/beneficiariesIntegration guide
Use your sandbox environment to start. Understand error codes and payment statuses before handling a live payment.
Save a beneficiary
curl --request POST "https://api.veyqo.org/api/v1/beneficiaries" \
  --header "Authorization: Bearer $VEYQO_SECRET_KEY" \
  --header "Accept: application/json" \
  --header "Content-Type: application/json" \
  --data '{
  "bank": "000013",
  "account_number": "0123456789",
  "label": "Ada, supplier"
}'
{
  "success": true,
  "data": {
    "id": "ben_01M7Q5A1B2C3D4E5F6G7H8J9K0",
    "object": "beneficiary",
    "label": "Ada, supplier",
    "bank": {
      "id": "000013",
      "code": null,
      "name": "Guaranty Trust Bank (GTBank)"
    },
    "provider": null,
    "account_number": "0123456789",
    "account_name": "ADA LOVELACE",
    "created_at": "2026-11-17T12:00:00+00:00"
  }
}

Illustrative examples. Replace IDs and environment variables with your own values. Keep secret keys on your server.

Headers

Authorizationstringrequired
Bearer <secret-key>. This key determines your project environment and must stay on your server.
Content-Typestringrequired
application/json
Acceptstringoptional
application/json

Endpoint

POST https://api.veyqo.org/api/v1/beneficiaries

Server secret key required. Scope: transfers:write. The key determines the project and environment; no project-selection header is accepted.

Request body

bankstring | nulloptional
Veyqo bank id from GET /transfers/banks. Required unless bank_code is given. Maximum 10 characters.
bank_codestring | nulloptional
A provider's own bank code instead of bank; needs provider when several are connected. Maximum 20 characters.
account_numberstringrequired
The 10-digit NUBAN. Maximum 10 characters.
providerstring | nulloptional
Which connected provider sends it. Omitted: the first that can reach the bank.
labelstring | nulloptional
Your own name for it. Maximum 120 characters.

Response fields

idstringoptional
ben_ id.
objectstringoptional
Always beneficiary.
labelstring | nulloptional
Your own name for it.
bankobjectoptional
id, code and name.
providerstring | nulloptional
Provider, when saved with its own bank code.
account_numberstringoptional
NUBAN.
account_namestringoptional
As the bank returned it when saved.
created_atstringoptional
ISO 8601. Format: date-time.

Errors and recovery

CodeHTTPRecoveryRetry policy
INVALID_API_KEY401Use a current kc_test_ or kc_live_ secret key on /api/v1. Use a pk_test_ or pk_live_ publishable key only on browser checkout.After fixing credentials.
INSUFFICIENT_PERMISSION403Grant the required scope or use a suitably scoped key. Dashboard organization roles and staff permissions are separate.After permission changes.
RATE_LIMIT_EXCEEDED429Honor Retry-After, use bounded exponential backoff with jitter, and reduce concurrent requests. Read X-RateLimit headers.Yes, after Retry-After; preserve write idempotency.
METHOD_NOT_ALLOWED405Use the method documented for the endpoint, such as POST for verification and refunds.After fixing the method.
INTERNAL_ERROR500Record X-Request-Id, timestamp and sanitized request context. Reconcile unknown payment outcomes before retrying a write; contact support if it persists.Safe reads: bounded backoff. Writes: reconcile first.
VALIDATION_FAILED422Read error.details when present, correct the named fields and retry only after correction. Validation messages may describe state/capability errors without field details.No automatic retry.
PROVIDER_NOT_CONNECTED422Connect a provider, choose the project default, or explicitly pass provider. An account shared with another project still needs its own assignment here.After configuration changes.