POST api/ERPDataUpdate/LogOmnipayTransaction

Request Information

URI Parameters

None.

Body Parameters

LogOmnipayTransactionCommand
NameDescriptionTypeAdditional information
data

LogOmnipayTransactionData

None.

event

string

None.

Request Formats

application/json, text/json

Sample:
{
  "data": {
    "customerRef": "sample string 1",
    "transactionRef": "sample string 2",
    "userRef": "sample string 3",
    "amount": 4.0,
    "walletBalance": 5.0,
    "walletPayment": 6.0,
    "paylaterPayment": 7.0,
    "promoPayment": 8.0,
    "orderValue": 9.0,
    "orderid": "sample string 10",
    "loanId": "sample string 11",
    "loanAmount": 12.0,
    "amountRepaid": 13.0,
    "amountPending": 14.0,
    "interestPaid": 15.0,
    "purchaseType": "sample string 16",
    "promoId": "sample string 17",
    "referenceId": "sample string 18",
    "paymentsDay": "sample string 19",
    "settlementRef": "sample string 20",
    "accountNumber": "sample string 21",
    "bankName": "sample string 22"
  },
  "event": "sample string 1"
}

application/xml, text/xml

Sample:
<LogOmnipayTransactionCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model.Orion">
  <data>
    <accountNumber>sample string 21</accountNumber>
    <amount>4</amount>
    <amountPending>14</amountPending>
    <amountRepaid>13</amountRepaid>
    <bankName>sample string 22</bankName>
    <customerRef>sample string 1</customerRef>
    <interestPaid>15</interestPaid>
    <loanAmount>12</loanAmount>
    <loanId>sample string 11</loanId>
    <orderValue>9</orderValue>
    <orderid>sample string 10</orderid>
    <paylaterPayment>7</paylaterPayment>
    <paymentsDay>sample string 19</paymentsDay>
    <promoId>sample string 17</promoId>
    <promoPayment>8</promoPayment>
    <purchaseType>sample string 16</purchaseType>
    <referenceId>sample string 18</referenceId>
    <settlementRef>sample string 20</settlementRef>
    <transactionRef>sample string 2</transactionRef>
    <userRef>sample string 3</userRef>
    <walletBalance>5</walletBalance>
    <walletPayment>6</walletPayment>
  </data>
  <event>sample string 1</event>
</LogOmnipayTransactionCommand>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.