Some of the processes that happen in the real world need to be bypassed in our pre-live environment, KYC is one such process.
In the real world, we have a team of people who will manage the KYC 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.
Remember: The KYC requirement only exists for 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 to talk about how to manage this.
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
This is how the call looks in Postman:
Verifying the user using cURL
Here's what the API payload will look like:
curl -X "PATCH" "https://test.api.promisepay.com/users/<user id>?type=identity_verified" \
-H "authorization: <Basic Header>
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.