Update Payee
This guide quickly demonstrates how to update a payee in EBANX. We will walk you through the basic steps to achieve this goal using your already existing Direct API integration.
Instructions
Follow the steps below.
Define your request parameters
There are a few key parameters you need to provide to update a payee. Check the table below for more details.
Field Description integration_key
Your EBANX integration key. payee_uuid
Payee uuid received on create endpoint response Send payout request to EBANX
To update a Payee, you will use the /ws/payee/update endpoint.
- The following example is a update of the payee's bank information:
curl -X POST 'https://sandbox.ebanxpay.com/ws/payee/update' \
-d 'integration_key=your_test_integration_key' \
-d 'payee_uuid=11bfcdc3-f323-4dd1-becc-a75235857fed' \
-d 'bank_name=104 Caixa Econômica' \
-d 'bank_branch=3708' \
-d 'bank_account=08251777-6' \
-d 'account_type=C' \
-d 'bank_details=001' \And a successful creation will return a JSON Object with type "success" and the payee UUID (Universally Unique IDentifier) unique key which will allows you to update and/or consult payee.
{
"type": "success",
"uuid": "11bfcdc3-f323-4dd1-becc-a75235857fed"
}Basic informationNote that the basic payee information such as name, document, document_type or email can not be updated.
You can either update a payee document file:
curl -X POST 'https://sandbox.ebanxpay.com/ws/payee/update' \
-d 'integration_key=your_test_integration_key' \
-d 'payee_uuid=11bfcdc3-f323-4dd1-becc-a75235857fed' \
-F 'proof_of_identity=@path/to/local/file' \Payee as CompanyNote that you can update the shareholders informations from a payee.
- The following example is a payee update request for new shareholder:
curl -X POST 'https://sandbox.ebanxpay.com/ws/payee/update' \
-d 'integration_key=your_test_integration_key' \
-d 'payee_uuid=11bfcdc3-f323-4dd1-becc-a75235857fed' \
-d 'shareholders[0][name]=Princess Leia' \
-d 'shareholders[0][document]=58017604076' \
-d 'shareholders[0][document_type]=cpf' \
-d 'shareholders[0][email]=princess@leia.sw' \
-d 'shareholders[0][ownership_percent]=50' \
Still need help?
We hope this article was helpful. If you still have questions, you can explore the following options:
- Merchant support: Contact our support team at sales.engineering@ebanx.com for assistance.
- Not a partner yet? Please complete the Merchant Signup Form, and our commercial team will reach out to you.