Cashier

Create Cashier Session

Creates cashier session for customer.

post/public/cashier/session

Request

  • Base URL: https://api.omno.com
  • URL: https://api.omno.com/public/cashier/session
  • Auth: none declared

Request body

currencystring required

Currency for the cashier session, in which all payin/payout transaction will be created

kycVerifiedboolean required

Whether or not this customer is KYC verified in your system.

previousTransactionCountinteger required

Number of previous transactions in different payment system.

balancenumber

Current balance of the customer. Balance will be shown on withdrawal widget.

Example request

{
  "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"
    },
    "userName": "john123"
  },
  "returnUrls": {
    "success": "https://example.com/success",
    "failure": "https://example.com/failure"
  }
}

Response

Cashier session created

sessionIdstring required

Session ID

checkoutUrlstring required

Checkout URL

Example response

{
  "sessionId": "944732c4608c441aa91379478b91f76e",
  "checkoutUrl": "https://checkout.omno.com/payments/cashier/<sessionId>"
}

Changes

No recorded changes to this operation across all 1 revision of this API.