POST api/OmniPay/SyncOmniPayOrderForReportsForGhana

Request Information

URI Parameters

None.

Body Parameters

SyncOmniPayOrderForReports
NameDescriptionTypeAdditional information
event

string

None.

data

OmniPayOrderData

None.

Request Formats

application/json, text/json

Sample:
{
  "event": "sample string 1",
  "data": {
    "customerRef": "sample string 1",
    "userRef": "sample string 2",
    "amount": 3.0,
    "walletBalance": 4.0,
    "walletPayment": 5.0,
    "paylaterPayment": 6.0,
    "promoPayment": 7.0,
    "orderValue": 8.0,
    "orderId": "sample string 9",
    "loanId": "sample string 10",
    "loanAmount": 11.0,
    "amountRepaid": 12.0,
    "amountPending": 13.0,
    "interestPaid": 14.0,
    "purchaseType": "sample string 15",
    "promoId": "sample string 16",
    "referenceId": "sample string 17",
    "createdAt": "2025-04-28T14:52:33.9241708+00:00",
    "senderUserRef": "sample string 19",
    "receiverUserRef": "sample string 20",
    "senderCustomerRef": "sample string 21",
    "receiverCustomerRef": "sample string 22",
    "senderAccountName": "sample string 23",
    "senderBankName": "sample string 24",
    "senderAccountNumber": "sample string 25",
    "fees": 26.0,
    "commission": 27.0,
    "shipmentId": "sample string 28",
    "walletId": "sample string 29",
    "virtualAccounts": [
      {
        "AccountName": "sample string 1",
        "AccountNumber": "sample string 2",
        "BankName": "sample string 3"
      },
      {
        "AccountName": "sample string 1",
        "AccountNumber": "sample string 2",
        "BankName": "sample string 3"
      }
    ],
    "phoneNumber": "sample string 30",
    "businessId": 31,
    "idCardType": "sample string 32",
    "customerName": "sample string 33",
    "transactionId": "sample string 34",
    "externalRef": "sample string 35"
  }
}

application/xml, text/xml

Sample:
<SyncOmniPayOrderForReports xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <event>sample string 1</event>
  <data>
    <customerRef>sample string 1</customerRef>
    <userRef>sample string 2</userRef>
    <amount>3</amount>
    <walletBalance>4</walletBalance>
    <walletPayment>5</walletPayment>
    <paylaterPayment>6</paylaterPayment>
    <promoPayment>7</promoPayment>
    <orderValue>8</orderValue>
    <orderId>sample string 9</orderId>
    <loanId>sample string 10</loanId>
    <loanAmount>11</loanAmount>
    <amountRepaid>12</amountRepaid>
    <amountPending>13</amountPending>
    <interestPaid>14</interestPaid>
    <purchaseType>sample string 15</purchaseType>
    <promoId>sample string 16</promoId>
    <referenceId>sample string 17</referenceId>
    <createdAt>2025-04-28T14:52:33.9241708+00:00</createdAt>
    <senderUserRef>sample string 19</senderUserRef>
    <receiverUserRef>sample string 20</receiverUserRef>
    <senderCustomerRef>sample string 21</senderCustomerRef>
    <receiverCustomerRef>sample string 22</receiverCustomerRef>
    <senderAccountName>sample string 23</senderAccountName>
    <senderBankName>sample string 24</senderBankName>
    <senderAccountNumber>sample string 25</senderAccountNumber>
    <fees>26</fees>
    <commission>27</commission>
    <shipmentId>sample string 28</shipmentId>
    <walletId>sample string 29</walletId>
    <virtualAccounts>
      <OmniPayVirtualAccounts>
        <AccountName>sample string 1</AccountName>
        <AccountNumber>sample string 2</AccountNumber>
        <BankName>sample string 3</BankName>
      </OmniPayVirtualAccounts>
      <OmniPayVirtualAccounts>
        <AccountName>sample string 1</AccountName>
        <AccountNumber>sample string 2</AccountNumber>
        <BankName>sample string 3</BankName>
      </OmniPayVirtualAccounts>
    </virtualAccounts>
    <phoneNumber>sample string 30</phoneNumber>
    <businessId>31</businessId>
    <idCardType>sample string 32</idCardType>
    <customerName>sample string 33</customerName>
    <transactionId>sample string 34</transactionId>
    <externalRef>sample string 35</externalRef>
  </data>
</SyncOmniPayOrderForReports>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.