POST Transaction/addPayment
Request Information
URI Parameters
None.
Body Parameters
DaoPaymentTransactionDetailsName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
UserId | integer |
None. |
|
PayerId | string |
None. |
|
PaymentId | string |
None. |
|
OrderId | string |
None. |
|
Date | date |
None. |
|
Status | string |
None. |
|
Unit | string |
None. |
|
RazorOrderId | string |
None. |
|
RazorSignature | string |
None. |
|
Type | string |
None. |
|
Amount | decimal number |
None. |
|
Token | string |
None. |
|
IsSuccessful | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "UserId": 2, "PayerId": "sample string 3", "PaymentId": "sample string 4", "OrderId": "sample string 5", "Date": "2024-12-26T19:04:29.420173-08:00", "Status": "sample string 7", "Unit": "sample string 8", "RazorOrderId": "sample string 9", "RazorSignature": "sample string 10", "Type": "sample string 11", "Amount": 12.0, "Token": "sample string 13", "IsSuccessful": true }
application/xml, text/xml
Sample:
<DaoPaymentTransactionDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Icodex.UserManagement.Services.Interfaces.Request.Dao.PaymentModule"> <Amount>12</Amount> <Date>2024-12-26T19:04:29.420173-08:00</Date> <Id>1</Id> <IsSuccessful>true</IsSuccessful> <OrderId>sample string 5</OrderId> <PayerId>sample string 3</PayerId> <PaymentId>sample string 4</PaymentId> <RazorOrderId>sample string 9</RazorOrderId> <RazorSignature>sample string 10</RazorSignature> <Status>sample string 7</Status> <Token>sample string 13</Token> <Type>sample string 11</Type> <Unit>sample string 8</Unit> <UserId>2</UserId> </DaoPaymentTransactionDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.