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
PaymentRequestViewModelName | 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": "23d71540-9bcc-4c75-82bb-41e43564b3c2", "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": "8d362f88-11b6-4fbe-b734-12d7b90aaee3", "veryfiId": 1, "createdAt": "2025-06-27T14:23:32.5789637+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": "2025-06-27T14:23:32.5789637+03:00", "invoiceNo": "sample string 10", "invoiceQuantity": 1, "fileName": "sample string 11", "imgUrl": "sample string 12", "fileId": "0f9da7e6-7b5f-4df6-94d9-cd847ae54a0f", "executedAmount": 1.0, "isActive": true, "ocrPreference": { "id": "67c14c9a-a3c9-43a8-8eb9-4fc9ce9f86f6", "preferedCurrency": "sample string 1", "costType": 1, "beneficiaryId": "07f77621-0b99-441e-b589-0ccac0502b54", "amount": 1.0, "paymentVeryfiOCRID": "ae7b55a5-17a6-4186-b4d6-08c916859f52" } }, "beneficiaryId": "0fd22719-8465-4750-9503-f800e3fe777e" }
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>0fd22719-8465-4750-9503-f800e3fe777e</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>23d71540-9bcc-4c75-82bb-41e43564b3c2</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-06-27T14:23:32.5789637+03:00</CreatedAt> <Currency>sample string 3</Currency> <ExecutedAmount>1</ExecutedAmount> <FileId>0f9da7e6-7b5f-4df6-94d9-cd847ae54a0f</FileId> <FileName>sample string 11</FileName> <Id>8d362f88-11b6-4fbe-b734-12d7b90aaee3</Id> <ImgUrl>sample string 12</ImgUrl> <InvoiceDate>2025-06-27T14:23:32.5789637+03:00</InvoiceDate> <InvoiceNo>sample string 10</InvoiceNo> <InvoicePayerName>sample string 9</InvoicePayerName> <InvoiceQuantity>1</InvoiceQuantity> <IsActive>true</IsActive> <OcrPreference> <Amount>1</Amount> <BeneficiaryId>07f77621-0b99-441e-b589-0ccac0502b54</BeneficiaryId> <CostType>1</CostType> <Id>67c14c9a-a3c9-43a8-8eb9-4fc9ce9f86f6</Id> <PaymentVeryfiOCRID>ae7b55a5-17a6-4186-b4d6-08c916859f52</PaymentVeryfiOCRID> <PreferedCurrency>sample string 1</PreferedCurrency> </OcrPreference> <veryfiId>1</veryfiId> </PaymentVeryfiOcrViewModel> <ProfileId>1</ProfileId> </PaymentRequestViewModel>