cURL
curl --request PUT \ --url https://external.dev.onboardpay.co/users/me/update-profile \ --header 'Content-Type: application/json' \ --header 'x-auth-token: <api-key>' \ --data '{ "fullname": "<string>", "country": "NG", "dob": "2024-04-18T00:00:00.000Z", "hasBusinessBankAccount": true, "displayName": "<string>", "proofOfAddress": "<string>" }'
{ "email": "<string>", "userType": "CUSTOMER", "profile": { "status": "VERIFIED", "fullname": "<string>", "country": "NG", "dob": "2024-04-18T00:00:00.000Z", "displayName": "<string>", "proofOfAddress": "<string>", "hasBusinessBankAccount": true, "businessName": "<string>", "certificateOfIncorporation": "<string>", "hasShareHolderList": true, "userInShareHolderList": true, "noShareHolderListEvidence": "<string>", "useOfBusinessAccountApprovedByShareholders": true, "noOfLegalDirectors": 123, "regulatoryIdsOfDirectors": [ "<string>" ], "depositTimeout": 1200, "approvalTimeout": 1200, "tradeHistoryDetails": { "hasPreviousTradeHistory": true, "proofOfTrade": [ "<string>" ], "referee": "<string>" } } }
Success
The response is of type object.
object