Identity verification
Some of the processes that happen in the real world need to be bypassed in our pre-live environment, user verification is one such process.
In the real world, we have systems and a team of people who will manage the user verification process in the background and complete checks as needed, but when testing in pre-live you will need to approve users as part of your testing.
To do this, you will need to complete all of the required fields for the user (the API response will tell you what is needed) and then call PATCH /users/:id/identity_verified
.
Remember: The user verification requirement only exists for a user you are sending money to (pay-out users), your pay-in users do not require the same level of information unless in your workflow you are also sending funds to them (meaning that your users could be pay-in and pay-out). If you are sending funds to and receiving funds from your users, please contact our Support team at mailto:[email protected] to talk about how to manage this.
Postman example
Verifying the user using cURL
curl -X "PATCH" "https://test.api.promisepay.com/users/0df08246d7e9efd8be4aeedb195beef6?type=identity_verified" \-H "authorization: Basic Y2NydXpAYXNzZW1ibHlwYXltZW50cy5jb20==
For more information, see Verify User on our API reference.
Updated about 4 years ago