Step 1: Create client
POST https://gate.reviopay.com/api/v1/clients/
Each user that signs up for your service is called a Client
and needs to be added to the Revio system.
In case you want to accept Card for one-off or recurring payments, be sure to update the Clients billing address details. This is a requirement from payment gateways.
If not populated, the Revio payment page will challenge the client for these details before they are able to make a payment.
Request Body
{"email"=>"{{unique_client_email}}", "phone"=>"+27123456789", "full_name"=>"Customer name", "personal_code"=>"111223344", "bank_account"=>"123456789", "bank_code"=>"250655", "street_address"=>"Client street address", "city"=>"Client city", "state"=>"Client state", "zip_code"=>"Client zip code", "country"=>"South Africa", "shipping_street_address"=>"Client street address", "shipping_city"=>"Client shipping city", "shipping_state"=>"Client state", "shipping_zip_code"=>"Client zip code", "shipping_country"=>"ZA", "cc"=>["user@example.com"], "bcc"=>["user@example.com"], "legal_name"=>"Client company name", "brand_name"=>"Client brand name", "registration_number"=>"Client registration number", "tax_number"=>"Client tax or vat number"}