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": "172bb525-f868-45e1-9706-bc1b0fdf7f48",
"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": "d60258af-a0e8-45d5-a021-acb745c3c4c2",
"veryfiId": 1,
"createdAt": "2026-03-28T17:31:03.8457504+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-28T17:31:03.8457504+03:00",
"invoiceNo": "sample string 10",
"invoiceQuantity": 1,
"fileName": "sample string 11",
"imgUrl": "sample string 12",
"fileId": "08c81396-0301-41bb-bfbb-c31d99920bfb",
"executedAmount": 1.0,
"isActive": true,
"ocrPreference": {
"id": "b468b27c-d5be-40c9-bd41-e03ad55d861a",
"preferedCurrency": "sample string 1",
"costType": 1,
"beneficiaryId": "19ebc62a-b484-4a27-9918-8e4663f26ce2",
"amount": 1.0,
"paymentVeryfiOCRID": "14c3cd95-1dd8-4d8e-b968-991ad126ed5a"
}
},
"beneficiaryId": "1d5734a2-f974-4f0e-8b94-46787db83108"
}
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>1d5734a2-f974-4f0e-8b94-46787db83108</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>172bb525-f868-45e1-9706-bc1b0fdf7f48</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-28T17:31:03.8457504+03:00</CreatedAt>
<Currency>sample string 3</Currency>
<ExecutedAmount>1</ExecutedAmount>
<FileId>08c81396-0301-41bb-bfbb-c31d99920bfb</FileId>
<FileName>sample string 11</FileName>
<Id>d60258af-a0e8-45d5-a021-acb745c3c4c2</Id>
<ImgUrl>sample string 12</ImgUrl>
<InvoiceDate>2026-03-28T17:31:03.8457504+03:00</InvoiceDate>
<InvoiceNo>sample string 10</InvoiceNo>
<InvoicePayerName>sample string 9</InvoicePayerName>
<InvoiceQuantity>1</InvoiceQuantity>
<IsActive>true</IsActive>
<OcrPreference>
<Amount>1</Amount>
<BeneficiaryId>19ebc62a-b484-4a27-9918-8e4663f26ce2</BeneficiaryId>
<CostType>1</CostType>
<Id>b468b27c-d5be-40c9-bd41-e03ad55d861a</Id>
<PaymentVeryfiOCRID>14c3cd95-1dd8-4d8e-b968-991ad126ed5a</PaymentVeryfiOCRID>
<PreferedCurrency>sample string 1</PreferedCurrency>
</OcrPreference>
<veryfiId>1</veryfiId>
</PaymentVeryfiOcrViewModel>
<ProfileId>1</ProfileId>
</PaymentRequestViewModel>