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": "cf554656-9e75-4e3d-9811-5bdd597bd46e",
"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": "6ec2e0d6-7ab1-4c92-80d5-630e10d7170a",
"veryfiId": 1,
"createdAt": "2025-11-19T03:11:20.8644109+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": "2025-11-19T03:11:20.8644109+02:00",
"invoiceNo": "sample string 10",
"invoiceQuantity": 1,
"fileName": "sample string 11",
"imgUrl": "sample string 12",
"fileId": "40bf04ee-9177-49b6-8f69-8e2f8ed0f320",
"executedAmount": 1.0,
"isActive": true,
"ocrPreference": {
"id": "ffe2a173-2bf1-430b-8931-d8f10979249e",
"preferedCurrency": "sample string 1",
"costType": 1,
"beneficiaryId": "2cd25862-3df5-42f4-becc-1e50420f93d3",
"amount": 1.0,
"paymentVeryfiOCRID": "b1f607d2-c252-4f97-b269-23b61a97d9eb"
}
},
"beneficiaryId": "215455fd-bb97-4db9-9485-5b45945d8866"
}
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>215455fd-bb97-4db9-9485-5b45945d8866</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>cf554656-9e75-4e3d-9811-5bdd597bd46e</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>2025-11-19T03:11:20.8644109+02:00</CreatedAt>
<Currency>sample string 3</Currency>
<ExecutedAmount>1</ExecutedAmount>
<FileId>40bf04ee-9177-49b6-8f69-8e2f8ed0f320</FileId>
<FileName>sample string 11</FileName>
<Id>6ec2e0d6-7ab1-4c92-80d5-630e10d7170a</Id>
<ImgUrl>sample string 12</ImgUrl>
<InvoiceDate>2025-11-19T03:11:20.8644109+02:00</InvoiceDate>
<InvoiceNo>sample string 10</InvoiceNo>
<InvoicePayerName>sample string 9</InvoicePayerName>
<InvoiceQuantity>1</InvoiceQuantity>
<IsActive>true</IsActive>
<OcrPreference>
<Amount>1</Amount>
<BeneficiaryId>2cd25862-3df5-42f4-becc-1e50420f93d3</BeneficiaryId>
<CostType>1</CostType>
<Id>ffe2a173-2bf1-430b-8931-d8f10979249e</Id>
<PaymentVeryfiOCRID>b1f607d2-c252-4f97-b269-23b61a97d9eb</PaymentVeryfiOCRID>
<PreferedCurrency>sample string 1</PreferedCurrency>
</OcrPreference>
<veryfiId>1</veryfiId>
</PaymentVeryfiOcrViewModel>
<ProfileId>1</ProfileId>
</PaymentRequestViewModel>