Verify Bank Account
POST
https://api.sfox.com/v1/user/bank/verify
Verify micro-deposits sent to your bank account from sFOX.
For bank accounts linked manually (Create Bank Account), sFOX uses micro-deposits to to verify the account.
sFOX will deposit two <$1 amounts to the user's linked bank account. Micro-deposits expect to be be completed within 1-3 business days after linking the bank account. If the user has not received the deposits within 3 days, please contact [email protected]
Collect these amounts from your end user and use the request below to verify.
Until verification is completed the user's bank account will be in a "Pending Verification" status. Bank account status may be retrieved using a Get Bank Account request.
Request
Body Parameters
verifyAmount1
required, number
The value of the first micro-deposit. Should be a number less than 1.
verifyAmount2
required, number
The value of the second micro-deposit. Should be a number less than 1.
Example Requests
curl -X POST \
-H 'Content-type: application/json' \
-H "Authorization: Bearer ${USER_AUTH_TOKEN}" \
--data '{ "verifyAmount1": ${AMOUNT_1}, "verifyAmount2": ${AMOUNT_2} }' \
'https://api.sfox.com/v1/user/bank/verify'const axios = require('axios');
const data = JSON.stringify({
amount1: ${AMOUNT_1},
amount2: ${AMOUNT_2}
})
const config = {
method: 'post',
url: 'https://api.sfox.com/v1/user/bank/verify',
headers: {
"Content-Type": "application/json",
'Authorization': `Bearer ${process.env.USER_AUTH_TOKEN}`
},
data: data
}
axios(config)
.then((response) => {
console.log(response.status)
console.log(response.data)
})
.catch(err => {
console.error(err.response.status)
console.error(err.response.data)
});import requests
import os
data = requests.post(
"https://api.sfox.com/v1/user/bank/verify",
headers={
"Authorization": f"Bearer {os.environ['USER_AUTH_TOKEN']}"
},
json={
"amount1": ${AMOUNT_1},
"amount2": ${AMOUNT_2}
}
)
print(data.status_code)
print(data.json())Response
Response Fields
success
string
Whether verification succeeded.
Possible values: true, false
Responses
Last updated