OMNO API Documentation (2.0.0)
Download OpenAPI description
Overview
E-mail
Languages
Servers
Production
https://api.omno.com/
Sandbox
https://api.omno.dev/
- Production
https://api.omno.com/public/cashier/session/{sessionId}/balance
- Sandbox
https://api.omno.dev/public/cashier/session/{sessionId}/balance
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://api.omno.com/public/cashier/session/944732c4608c441aa91379478b91f76e/balance \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Bodyapplication/jsonrequired
Create Cashier Request
Customer information
Your defined unique identifier for this customer.
Example: "123456789"
Customer billing information
Customer billing country code (ISO 3166-1 alpha-2)
Example: "US"
Return URLs after transaction is finished.
Currency for the cashier session, in which all payin/payout transaction will be created
Example: "USD"
Whether or not this customer is KYC verified in your system.
Example: false
Number of previous transactions in different payment system.
Example: 0
- Production
https://api.omno.com/public/cashier/session
- Sandbox
https://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 '{
"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"
}
},
"returnUrls": {
"success": "https://example.com/success",
"failure": "https://example.com/failure"
},
"currency": "USD",
"kycVerified": false,
"previousTransactionCount": 0,
"balance": 100
}'
Response
application/json
{ "sessionId": "944732c4608c441aa91379478b91f76e", "checkoutUrl": "https://checkout.omno.com/payments/cashier/<sessionId>" }