Verify Account
This guide quickly demonstrates how to verify destination accounts whether it exists or not. We will walk you through the basic steps to achieve this goal using your already existing API integration.
Instructions
Follow the steps below:
Verify account using the /ws/payout/verify_account end-point
To verify account, you will use the /ws/payout/verify_account endpoint.
The following fields are required:
Field Description integration_key
Your EBANX integration key. target
Provider that will process the payment (mercadopago, pix, etc) target_account
Destination account to query country
The two-letter country code for the customer country. In this case, we'll show the method to br(Brazil) The following example shows how to verify a destination account:
curl -X POST 'https://sandbox.ebanxpay.com/ws/payout/verify_account' \
-d 'integration_key=your_test_integration_key' \
-d 'target=mercadopago' \
-d 'target_account=janedoe@someone.co' \
-d 'country=br'And a successful query will return a JSON Object with status "valid".
{
"status": "valid",
"message": "Account is valid"
}{
"status": "valid",
"message": "Account does not have KYC complete in provider"
}And a unsuccessful query will return a JSON Object with status "invalid", with a message explaining the reason.
{
"status": "invalid",
"message": "Account not able to receive transfers in this country"
}{
"status": "invalid",
"message": "Account does not exist in provider"
}
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.