When an account has been created; whether for an individual or a business, they are required to update their account information as well as profiles in order to gain full access to our escrow capabilities.
Every user is required to complete other missing account information such as username, firstname, lastname and phone_number
as well their bank details (for refund and disbursement) for their transaction requests to be considered valid. You can do this using the endpoint below:
{"status": "ok","code": 200,"message": "Success""data": {"id": 13,"account_id": 9256738111,"account_type": null,"firstname": "John","lastname": "Doe","email_address": "johndoe@gmail.com","phone_number": "070123457895","username": "jboy","tier_type": 1,"deleted_at": null,"created_at": "2019-11-13 09:46:48","updated_at": "2019-11-21 19:09:31"}}
For example you can a make a post request to the endpoint above and pass in the raw json data below to update a user information.
{"account_id" : 9256738111,"updates":{"firstname": "John","lastname": "Doe"}}
This endpoint allows your users to easily update their individual profiles such as address, city, state, country, dob
.
{"status": "ok","code": 200,"message": "Success""data": {"id": 13,"account_id": 9256738111,"account_type": null,"firstname": "John","lastname": "Doe","email_address": "johndoe@gmail.com","phone_number": "070123457895","username": "jboy","tier_type": 1,"deleted_at": null,"created_at": "2019-11-13 09:46:48","updated_at": "2019-11-21 19:09:31"}}
For example you can a make a post request to the endpoint above and pass in the raw json data below to update a profile information.
{"account_id" : 9256738111,"updates":{"dob": "John","state" : "Lagos","city" : "Ikoyi","address": "12 Adeyemi Lawson","country": "Nigeria"}}
Similar to updating a user profile, we have provided an endpoint with which businesses can update their company profiles such as business_name, business_type, logo_uri, website, business_address, country
{"status": "ok","code": 200,"message": "Business Profile Updated""data": {"profile": {"id": 18,"account_id": 3881795242,"business_name": "Random Business Like That","business_type": "Payment Commerce Merchant","logo_uri": "URI link to logo ","website": "www.vesicash.com","country": "Nigeria","business_address": null,"deleted_at": null,"created_at": "2019-11-22 09:29:06","updated_at": "2019-11-22 09:29:18"}}}
For example you can a make a post request to the endpoint above and pass in the raw json data below to update a profile information.
{"business_id" : 4492814598,"updates" : {"business_name" : "paystack tech company","business_type" : "Payment Commerce Merchant","logo_uri" : "URI link to logo ","website": "www.vesicash.com","business_address": "12 Adeyemi Lawson","country": "Nigeria"}}
​