Creates a new customer.
https://fastpays.io/api/bitvcard/create-user/
Parameter | Type | Comments |
---|---|---|
public_key | string required | |
houseNumber | string required | |
firstName | string required | |
lastName | string required | |
idNumber | string required | |
customerEmail | string required | |
phoneNumber | string required | mobile number in international format without + |
dateOfBirth | string required | Date of birth in mm/dd/yyy |
idImage | string required | id card image url |
userPhoto | string required | image url |
line1 | string required | id card image url |
state | string | |
zipCode | string required | |
city | string required | |
country | string required | |
idType | string required | type of ID e.g BVN, NIN, PASSPORT |
Request Example (guzzle)
<?php
require_once('vendor/autoload.php');
$client = new \GuzzleHttp\Client();
$response = $client->request('POST', 'https://fastpays.io/api/bitvcard/create-user/', [
'headers' => [
'accept' => 'application/json',
],
]);
echo $response->getBody();