Update a Receive Account
Receive accounts of a transaction can only be updated if no transactions have been forwarded for delivery in that particular receive account. Hence, there should be no transactions to a receive account or active transactions should have Delivery Status as NONE and in some cases, DELIVERY HOLD.
PATCH /users/{{user_id}}/receive-users/{{receive_user_id}}/accounts/{{receive_user_account_id}}
PATCH /users/{{user_id}}/receive-users/{{receive_user_id}}/accounts/{{receive_user_account_id}}Bank
Fields
Updatable
account_number
Yes
account_type
Yes
bank_id
Yes
branch_location
Yes
branch_id
Yes
swift_bic_code
Yes
rtn_number
Yes
Wallet
Fields
Updatable
msisdn
Yes
wallet_type
No
payer_id
Yes
Bank
curl --location -g --request PATCH '{{url}}/users/{{user_id}}/receive-users/{{receive_user_id}}/accounts/{{receive_user_account_id}}' \
--header 'X-Client-Id: {{client_id}}' \
--header 'X-Client-Secret: {{client_secret}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"account_number": "0037275350",
"payout_method": "BANK_DEPOSIT",
"account_type": "CHECKING",
"bank_id": 4,
"branch_id": 45,
"branch_location": 1,
"rtn_number": "4342492422",
"swift_bic_code": "OCCICOBCBO8"
}'Wallet
curl --location -g --request PATCH '{{url}}/users/{{user_id}}/receive-users/{{receive_user_id}}/accounts/{{receive_user_account_id}}' \
--header 'X-Client-Id: {{client_id}}' \
--header 'X-Client-Secret: {{client_secret}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"msisdn": "237653801972",
"wallet_type": "TELS",
"payer_id": 42,
"payout_method": "WALLET"
}'Bank
Wallet
Last updated
Was this helpful?