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": "b524d03b-76e0-4f30-82f8-a672a868967c",
"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": "162c290b-f41a-4b2b-a710-7e9d23e9b4b8",
"veryfiId": 1,
"createdAt": "2026-01-18T04:04:04.3411852+02: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-01-18T04:04:04.3411852+02:00",
"invoiceNo": "sample string 10",
"invoiceQuantity": 1,
"fileName": "sample string 11",
"imgUrl": "sample string 12",
"fileId": "82a7fb6b-c200-4acf-8c85-587bbfe779fe",
"executedAmount": 1.0,
"isActive": true,
"ocrPreference": {
"id": "9b9bf125-0975-409c-a72a-ba7554ef8f27",
"preferedCurrency": "sample string 1",
"costType": 1,
"beneficiaryId": "086cdd33-b73c-4c3f-8662-bf1e51eb799b",
"amount": 1.0,
"paymentVeryfiOCRID": "f7ec7241-b0b1-41f4-8b1b-cf39e6b6b111"
}
},
"beneficiaryId": "230703d9-f841-4610-82f9-3a4aa360b5f3"
}
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>230703d9-f841-4610-82f9-3a4aa360b5f3</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>b524d03b-76e0-4f30-82f8-a672a868967c</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-01-18T04:04:04.3411852+02:00</CreatedAt>
<Currency>sample string 3</Currency>
<ExecutedAmount>1</ExecutedAmount>
<FileId>82a7fb6b-c200-4acf-8c85-587bbfe779fe</FileId>
<FileName>sample string 11</FileName>
<Id>162c290b-f41a-4b2b-a710-7e9d23e9b4b8</Id>
<ImgUrl>sample string 12</ImgUrl>
<InvoiceDate>2026-01-18T04:04:04.3411852+02:00</InvoiceDate>
<InvoiceNo>sample string 10</InvoiceNo>
<InvoicePayerName>sample string 9</InvoicePayerName>
<InvoiceQuantity>1</InvoiceQuantity>
<IsActive>true</IsActive>
<OcrPreference>
<Amount>1</Amount>
<BeneficiaryId>086cdd33-b73c-4c3f-8662-bf1e51eb799b</BeneficiaryId>
<CostType>1</CostType>
<Id>9b9bf125-0975-409c-a72a-ba7554ef8f27</Id>
<PaymentVeryfiOCRID>f7ec7241-b0b1-41f4-8b1b-cf39e6b6b111</PaymentVeryfiOCRID>
<PreferedCurrency>sample string 1</PreferedCurrency>
</OcrPreference>
<veryfiId>1</veryfiId>
</PaymentVeryfiOcrViewModel>
<ProfileId>1</ProfileId>
</PaymentRequestViewModel>