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": "08dc9f92-f94b-4089-818c-a5cdfab348b2",
"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": "93f8f1ea-b75c-4013-8655-8ac8d1e09b5c",
"veryfiId": 1,
"createdAt": "2026-03-28T15:56:22.9468117+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-03-28T15:56:22.9468117+03:00",
"invoiceNo": "sample string 10",
"invoiceQuantity": 1,
"fileName": "sample string 11",
"imgUrl": "sample string 12",
"fileId": "e176977d-72bb-41e2-b4a0-d4d4011a2194",
"executedAmount": 1.0,
"isActive": true,
"ocrPreference": {
"id": "0c63ffea-2b90-4ff8-b1dc-30eba2990a68",
"preferedCurrency": "sample string 1",
"costType": 1,
"beneficiaryId": "45035d1c-3f1f-42a1-850b-92ade445c04d",
"amount": 1.0,
"paymentVeryfiOCRID": "c42e323d-0264-4223-92b9-dd0becb6e110"
}
},
"beneficiaryId": "98bf9b17-0116-4878-b18c-63059f1e401b"
}
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>98bf9b17-0116-4878-b18c-63059f1e401b</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>08dc9f92-f94b-4089-818c-a5cdfab348b2</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-03-28T15:56:22.9468117+03:00</CreatedAt>
<Currency>sample string 3</Currency>
<ExecutedAmount>1</ExecutedAmount>
<FileId>e176977d-72bb-41e2-b4a0-d4d4011a2194</FileId>
<FileName>sample string 11</FileName>
<Id>93f8f1ea-b75c-4013-8655-8ac8d1e09b5c</Id>
<ImgUrl>sample string 12</ImgUrl>
<InvoiceDate>2026-03-28T15:56:22.9468117+03:00</InvoiceDate>
<InvoiceNo>sample string 10</InvoiceNo>
<InvoicePayerName>sample string 9</InvoicePayerName>
<InvoiceQuantity>1</InvoiceQuantity>
<IsActive>true</IsActive>
<OcrPreference>
<Amount>1</Amount>
<BeneficiaryId>45035d1c-3f1f-42a1-850b-92ade445c04d</BeneficiaryId>
<CostType>1</CostType>
<Id>0c63ffea-2b90-4ff8-b1dc-30eba2990a68</Id>
<PaymentVeryfiOCRID>c42e323d-0264-4223-92b9-dd0becb6e110</PaymentVeryfiOCRID>
<PreferedCurrency>sample string 1</PreferedCurrency>
</OcrPreference>
<veryfiId>1</veryfiId>
</PaymentVeryfiOcrViewModel>
<ProfileId>1</ProfileId>
</PaymentRequestViewModel>