POST api/Payment/CreatePaymentRequest?beneficiaryId={beneficiaryId}&amount={amount}&costType={costType}&ocrId={ocrId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| beneficiaryId | globally unique identifier |
Required |
|
| amount | decimal number |
Required |
|
| costType | integer |
Required |
|
| ocrId | globally unique identifier |
None. |
Body Parameters
None.
Response Information
Resource Description
PaymentRequestViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentRequestId | globally unique identifier |
None. |
|
| Amount | decimal number |
None. |
|
| CostType | CostType |
None. |
|
| CostAmount | decimal number |
None. |
|
| NecessaryFiles | Collection of string |
None. |
|
| Currency | string |
None. |
|
| PaymentReasonId | integer |
None. |
|
| ProfileId | integer |
None. |
|
| PaymentVeryfiOcrViewModel | PaymentVeryfiOcrViewModel |
None. |
|
| BeneficiaryId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"paymentRequestId": "56f4e7eb-0d3d-474d-8d7b-b6d45d0f36dc",
"amount": 1.0,
"costType": 1,
"costAmount": 2.0,
"necessaryFiles": [
"sample string 1",
"sample string 2"
],
"currency": "sample string 3",
"paymentReasonId": 1,
"profileId": 1,
"paymentVeryfiOcrViewModel": {
"id": "eac4b355-c9a7-4097-89f5-3ae7fab7f89d",
"veryfiId": 1,
"createdAt": "2026-04-18T05:13:22.2753452+03:00",
"amount": 1.0,
"currency": "sample string 3",
"beneficiaryName": "sample string 4",
"bankCountry": "sample string 5",
"bankAccountDetails": "sample string 6",
"bankAccountNo": "sample string 7",
"beneficiaryAddress": "sample string 8",
"invoicePayerName": "sample string 9",
"invoiceDate": "2026-04-18T05:13:22.2753452+03:00",
"invoiceNo": "sample string 10",
"invoiceQuantity": 1,
"fileName": "sample string 11",
"imgUrl": "sample string 12",
"fileId": "f8212f76-0791-4682-93cd-9c9c33783bb7",
"executedAmount": 1.0,
"isActive": true,
"ocrPreference": {
"id": "a069ef4b-c9a7-473a-8d55-27792cd40c2b",
"preferedCurrency": "sample string 1",
"costType": 1,
"beneficiaryId": "f2fc16a9-a666-4c50-b469-1727bc7c2b62",
"amount": 1.0,
"paymentVeryfiOCRID": "8b0fd5e0-2b22-41ea-bcdf-540fa15425ea"
}
},
"beneficiaryId": "1718ab3a-100a-420b-b665-7af933df0b42"
}
application/xml, text/xml
Sample:
<PaymentRequestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EvenEdgeService.Models">
<Amount>1</Amount>
<BeneficiaryId>1718ab3a-100a-420b-b665-7af933df0b42</BeneficiaryId>
<CostType>regular</CostType>
<Currency>sample string 3</Currency>
<NecessaryFiles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</NecessaryFiles>
<PaymentReasonId>1</PaymentReasonId>
<PaymentRequestId>56f4e7eb-0d3d-474d-8d7b-b6d45d0f36dc</PaymentRequestId>
<PaymentVeryfiOcrViewModel>
<Amount>1</Amount>
<BankAccountDetails>sample string 6</BankAccountDetails>
<BankAccountNo>sample string 7</BankAccountNo>
<BankCountry>sample string 5</BankCountry>
<BeneficiaryAddress>sample string 8</BeneficiaryAddress>
<BeneficiaryName>sample string 4</BeneficiaryName>
<CreatedAt>2026-04-18T05:13:22.2753452+03:00</CreatedAt>
<Currency>sample string 3</Currency>
<ExecutedAmount>1</ExecutedAmount>
<FileId>f8212f76-0791-4682-93cd-9c9c33783bb7</FileId>
<FileName>sample string 11</FileName>
<Id>eac4b355-c9a7-4097-89f5-3ae7fab7f89d</Id>
<ImgUrl>sample string 12</ImgUrl>
<InvoiceDate>2026-04-18T05:13:22.2753452+03:00</InvoiceDate>
<InvoiceNo>sample string 10</InvoiceNo>
<InvoicePayerName>sample string 9</InvoicePayerName>
<InvoiceQuantity>1</InvoiceQuantity>
<IsActive>true</IsActive>
<OcrPreference>
<Amount>1</Amount>
<BeneficiaryId>f2fc16a9-a666-4c50-b469-1727bc7c2b62</BeneficiaryId>
<CostType>1</CostType>
<Id>a069ef4b-c9a7-473a-8d55-27792cd40c2b</Id>
<PaymentVeryfiOCRID>8b0fd5e0-2b22-41ea-bcdf-540fa15425ea</PaymentVeryfiOCRID>
<PreferedCurrency>sample string 1</PreferedCurrency>
</OcrPreference>
<veryfiId>1</veryfiId>
</PaymentVeryfiOcrViewModel>
<ProfileId>1</ProfileId>
</PaymentRequestViewModel>