Cashier API
OMNO API Documentation (2.0.0)
Download OpenAPI description
Overview
E-mail
Languages
Servers
Production
https://api.omno.com
Sandbox
https://api.omno.dev
Bodyapplication/jsonrequired
Create Cashier Request
Current balance of the customer. Balance will be shown on the withdrawal widget.
Example: "1000.50"
Currency for the cashier session, in which all payin/payout transaction will be created
Example: "USD"
- Productionhttps://api.omno.com/public/cashier/session
- Sandboxhttps://api.omno.dev/public/cashier/session
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.omno.com/public/cashier/session \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"balance": "1000.50",
"currency": "USD",
"customer": {
"externalUserId": "123456789",
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"phoneNumber": "1 1234567890",
"dateOfBirth": "1990-12-01",
"billing": {
"address": "123 Main St",
"city": "Atlanta",
"state": "GA",
"countryCode": "US",
"postalCode": "30308"
},
"kyc": {
"idType": "string",
"idNumber": "string",
"idCountry": "string",
"idExpirationDate": "2019-08-24",
"nationality": "string",
"countryOfBirth": "string"
}
},
"externalCustomerId": "string",
"internalCustomerId": "string",
"fee": {
"amount": "1.50",
"feeType": "INCLUDED"
},
"kycVerified": true,
"merchantTransactionId": "string",
"previousTransactionCount": 5
}'Response
application/json
{ "sessionId": "25aee2fd-fd2a-4a1c-a127-df26206b2a30", "checkoutUrl": "https://checkout.omno.com/payments/cashier/25aee2fd-fd2a-4a1c-a127-df26206b2a30", "depositUrl": "https://checkout.omno.com/payments/cashier/25aee2fd-fd2a-4a1c-a127-df26206b2a30/deposit", "withdrawalUrl": "https://checkout.omno.com/payments/cashier/25aee2fd-fd2a-4a1c-a127-df26206b2a30/withdraw" }