POST api/Payment?BatchName={BatchName}&ServiceAccountKey={ServiceAccountKey}&ActionDate={ActionDate}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
BatchName

string

Required

ServiceAccountKey

string

Required

ActionDate

integer

Required

Body Parameters

Collection of CashOutRequest
NameDescriptionTypeAdditional information
id

integer

None.

DateCreated

date

None.

BankAccount

string

None.

BranchCode

string

None.

AccountType

string

None.

AccountHolder

string

None.

AccountReference

string

None.

Processed

boolean

None.

TransactionReference

string

None.

BatchName

string

None.

ProcessedDate

date

None.

Client

boolean

None.

Operator

boolean

None.

Merchant

boolean

None.

Admin

boolean

None.

TransactionFee

decimal number

None.

CashOutAmount

decimal number

None.

Amount

decimal number

None.

BankName

string

None.

Reject

boolean

None.

ClientId

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "DateCreated": "2025-12-11T10:58:18.6420862+02:00",
    "BankAccount": "sample string 3",
    "BranchCode": "sample string 4",
    "AccountType": "sample string 5",
    "AccountHolder": "sample string 6",
    "AccountReference": "sample string 7",
    "Processed": true,
    "TransactionReference": "sample string 8",
    "BatchName": "sample string 9",
    "ProcessedDate": "2025-12-11T10:58:18.6420862+02:00",
    "Client": true,
    "Operator": true,
    "Merchant": true,
    "Admin": true,
    "TransactionFee": 15.1,
    "CashOutAmount": 16.1,
    "Amount": 17.1,
    "BankName": "sample string 18",
    "Reject": true,
    "ClientId": "sample string 20"
  },
  {
    "id": 1,
    "DateCreated": "2025-12-11T10:58:18.6420862+02:00",
    "BankAccount": "sample string 3",
    "BranchCode": "sample string 4",
    "AccountType": "sample string 5",
    "AccountHolder": "sample string 6",
    "AccountReference": "sample string 7",
    "Processed": true,
    "TransactionReference": "sample string 8",
    "BatchName": "sample string 9",
    "ProcessedDate": "2025-12-11T10:58:18.6420862+02:00",
    "Client": true,
    "Operator": true,
    "Merchant": true,
    "Admin": true,
    "TransactionFee": 15.1,
    "CashOutAmount": 16.1,
    "Amount": 17.1,
    "BankName": "sample string 18",
    "Reject": true,
    "ClientId": "sample string 20"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCashOutRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaMarketAPI.Database">
  <CashOutRequest>
    <AccountHolder>sample string 6</AccountHolder>
    <AccountReference>sample string 7</AccountReference>
    <AccountType>sample string 5</AccountType>
    <Admin>true</Admin>
    <Amount>17.1</Amount>
    <BankAccount>sample string 3</BankAccount>
    <BankName>sample string 18</BankName>
    <BatchName>sample string 9</BatchName>
    <BranchCode>sample string 4</BranchCode>
    <CashOutAmount>16.1</CashOutAmount>
    <Client>true</Client>
    <ClientId>sample string 20</ClientId>
    <DateCreated>2025-12-11T10:58:18.6420862+02:00</DateCreated>
    <Merchant>true</Merchant>
    <Operator>true</Operator>
    <Processed>true</Processed>
    <ProcessedDate>2025-12-11T10:58:18.6420862+02:00</ProcessedDate>
    <Reject>true</Reject>
    <TransactionFee>15.1</TransactionFee>
    <TransactionReference>sample string 8</TransactionReference>
    <id>1</id>
  </CashOutRequest>
  <CashOutRequest>
    <AccountHolder>sample string 6</AccountHolder>
    <AccountReference>sample string 7</AccountReference>
    <AccountType>sample string 5</AccountType>
    <Admin>true</Admin>
    <Amount>17.1</Amount>
    <BankAccount>sample string 3</BankAccount>
    <BankName>sample string 18</BankName>
    <BatchName>sample string 9</BatchName>
    <BranchCode>sample string 4</BranchCode>
    <CashOutAmount>16.1</CashOutAmount>
    <Client>true</Client>
    <ClientId>sample string 20</ClientId>
    <DateCreated>2025-12-11T10:58:18.6420862+02:00</DateCreated>
    <Merchant>true</Merchant>
    <Operator>true</Operator>
    <Processed>true</Processed>
    <ProcessedDate>2025-12-11T10:58:18.6420862+02:00</ProcessedDate>
    <Reject>true</Reject>
    <TransactionFee>15.1</TransactionFee>
    <TransactionReference>sample string 8</TransactionReference>
    <id>1</id>
  </CashOutRequest>
</ArrayOfCashOutRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>