Skip to main content
PATCH
Update a beneficiary

Authorizations

Authorization
string
header
required

API key issued during merchant onboarding.

Path Parameters

beneficiaryId
string
required
Pattern: [^\/#\?]+?

Body

application/json

UpdateBeneficiaryDto

name
string
Required string length: 1 - 255
label
string
Required string length: 1 - 128
metadata
object
merchant_reference
string
Maximum string length: 128
network
string
Minimum string length: 1
rail
enum<string> | null

Set to 'payshap' to pay this bank beneficiary over PayShap, or null to clear the rail and return to the corridor's default. Omit to keep the stored rail. Changing the rail always requires account_number, because the rail decides what that field means — a PayShap proxy or a bank account number. Clearing a PayShap rail also requires provider_id, since a PayShap beneficiary stores neither.

Available options:
payshap
Example:

"payshap"

provider_id
string
Pattern: ^prov_[0-9A-HJKMNP-TV-Z]{26}$
account_number
string
Required string length: 1 - 64
account_name
string
Maximum string length: 255
address
string
Required string length: 1 - 128

Response

Beneficiary updated successfully

status
enum<boolean>
required
Available options:
true
Example:

true

message
string
required

Human-readable summary

Example:

"Beneficiary updated successfully"

code
enum<string>
required
Available options:
ok
Example:

"ok"

data
object
required
meta
object
required