Get a single user by their authorization token
Changed onRequest
- Base URLhttps://external.dev.onboardpay.co
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Success
Example response
{
"phoneNumber": "2348100000000",
"language": "en, en-US, fr-FR, pt-BR",
"verifiedAddress": "0x15b8b00fb8d2bd7d76e90e70294e87fc6ba79e3b",
"profile": {
"country": "NG",
"dob": "2024-04-18T00:00:00.000Z",
"depositTimeout": 1200,
"approvalTimeout": 1200
}
}Changes
- info
the endpoint scheme security
HMACAuthwas added to the API - info
the endpoint scheme security
authTokenwas removed from the API
- info
- warning
added the new
AWAITING_INPUTenum value to theresponse property for the response status - warning
added the new
FAILED_VERIFICATIONenum value to theresponse property for the response status - warning
added the new
IN_PROGRESSenum value to theresponse property for the response status - warning
added the new
REVIEW_REQUIREDenum value to theresponse property for the response status - warning
added the new
UNVERIFIEDenum value to theresponse property for the response status - warning
added the new
VERIFICATION_TIMEOUTenum value to theresponse property for the response status - warning
added the new
VERIFIEDenum value to theresponse property for the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning