Kaoshi
Send money abroad, no hassle
STAGING_URL: https://switchapi3.azurewebsites.net
LIVE_URL: https://switchapi.azurewebsites.netRegister Switch User on Kaoshi
POST https://switchapi3.azurewebsites.net/user/kaoshi/register
Registration endpoint
Headers
SWI-CID
string
Client ID
Authorization
string
Format is Bearer token
{
"message": "User registered successfully on Kaoshi",
"data": {
"status": "Success",
"message": "Sign up completed and wallet created",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJmcmVlQHlhaG9vLmNvbSIsImp0aSI6IjQ5MGUzZjEwLTExNGYtNDRjNC05MjRjLWM5N2ZhMDE5YjJjNiIsImVtYWlsIjoiZnJlZUB5YWhvby5jb20iLCJpZCI6ImY3OGFjNzMyLWE4NzctNGYxMi1hOTVjLTA4ZDdjZmUwOTlkYiIsIm5iZiI6MTU4NTA0Njc4NiwiZXhwIjoxNTg1MDUwMzg2LCJpYXQiOjE1ODUwNDY3ODYsImlzcyI6Imh0dHBzOi8vcGFzcy5zdGVybGluZy5uZy9rYW9zaGkiLCJhdWQiOiJodHRwczovL3Bhc3Muc3Rlcmxpbmcubmcva2Fvc2hpIn0.TomkO3XMr0nZNDrfXTDG6eo3fG7G9tjJHOVsIK-lEuo",
"userId": "free@yahoo.com",
"fullName": "EMMANUEL EZE"
}
}Get All transactions
GET https://switchapi3.azurewebsites.net/user/kaoshi/transactions
Get All Transactions(exchanges) performed by this user on Kaoshi
Headers
SWI-CID
string
Client ID
Authorization
string
Format is Bearer token
Verify Dollar Recipient
POST https://switchapi3.azurewebsites.net/user/kaoshi/verify_recipient
Verify dollar recipient
Headers
SWI-CS
string
Payload checksum
SWI-CID
string
Client ID
Authorization
string
Format is Bearer token
Request Body
userHandle
string
recipient email
Get Kaoshi Wallet Balance
GET https://switchapi3.azurewebsites.net/user/kaoshi/wallet_balance
Get wallet balance
Headers
SWI-CID
string
Client ID
Authorization
string
Format is Bearer token
Validate Account Number
GET https://switchapi3.azurewebsites.net/user/kaoshi/validate_account_number
validate funding account number, should happen before user is asked to enter OTP
Headers
SWI-CID
string
Client ID
Authorization
string
Format is Bearer token
Get Kaoshi User
GET https://switchapi3.azurewebsites.net/user/kaoshi/user
Get the Kaoshi User
Headers
SWI-CID
string
Client ID
Authorization
string
Format is Bearer token
Get Exchange Rates
GET https://switchapi3.azurewebsites.net/user/kaoshi/rates
Headers
SWI-CID
string
Client ID
Authorization
string
Format is Bearer token
Create Exchange Offer
POST https://switchapi3.azurewebsites.net/user/kaoshi/create_offer
Create offer to exchange Naira for USD
Headers
SWI-CS
string
Payload checksum
SWI-CID
string
Client ID
Authorization
string
Format is Bearer token
Request Body
otp
string
6-digit OTP
current_account_balance
string
"280.5"
exchange_rate
string
"320"
matcher_amount
string
"100"
poster_amount
number
e.g 3200
recipient_username
string
eg. usd-beneficiary@example.com
Last updated
Was this helpful?