Is a redirect code returned to the client with a URI that the client needs to be redirected to? Once the user completes additional verification on the Balanced website, how are the results transmitted back to the server? Is it a configurable redirect uri?
Share
Balanced will return you a 300 status code when it fails to identify a merchant. You can resubmit the request with additional information or you can redirect the merchant to the location supplied in the response and Balanced will attempt to gather more information and verify them.
When you redirect the user you must include a
redirect_uriparamater which the merchant will be returned to at the end of the identification process.You can also pass through information in the querystring so that the form is pre-filled for the user. These fields should be the same as you included in the original JSON payload, for a nested dictionary you enclose the field in square brackets. E.g.
Should become
Once Balanced has verified the Merchant, the user is redirected back to
redirect_uri, along with the Merchant’s email address and a new parameter calledmerchant_urias an identifier. You would then POST theemail_addressandmerchant_uriparameters to the account endpoint and it will create the account for you. If the user cancels out of the verification process they are redirected to theredirect_uribut doing a POST on the account endpoint will return the original 300 redirect since they do not have any identifying information in the system.