POST api/Mobapi/GenerateRazorPayOrderID

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

RazorOrderResponse
NameDescriptionTypeAdditional information
id

string

None.

entity

string

None.

amount

integer

None.

amount_paid

integer

None.

amount_due

integer

None.

currency

string

None.

receipt

string

None.

offer_id

Object

None.

status

string

None.

attempts

integer

None.

notes

Notes

None.

created_at

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "entity": "sample string 2",
  "amount": 3,
  "amount_paid": 4,
  "amount_due": 5,
  "currency": "sample string 6",
  "receipt": "sample string 7",
  "offer_id": {},
  "status": "sample string 9",
  "attempts": 10,
  "notes": {
    "notes_key_1": "sample string 1",
    "notes_key_2": "sample string 2"
  },
  "created_at": 11
}

application/xml, text/xml

Sample:
<RazorOrderResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entity">
  <amount>3</amount>
  <amount_due>5</amount_due>
  <amount_paid>4</amount_paid>
  <attempts>10</attempts>
  <created_at>11</created_at>
  <currency>sample string 6</currency>
  <entity>sample string 2</entity>
  <id>sample string 1</id>
  <notes>
    <notes_key_1>sample string 1</notes_key_1>
    <notes_key_2>sample string 2</notes_key_2>
  </notes>
  <offer_id />
  <receipt>sample string 7</receipt>
  <status>sample string 9</status>
</RazorOrderResponse>