POST
api/v1/payment-transactions
Request Information
Body Parameters
SavePaymentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
None. |
|
| PaymentId | string |
None. |
|
| PaymentMethodId | string |
None. |
|
| PaymentMethod | string |
None. |
|
| PaymentType | string |
None. |
|
| PaymentStatus | string |
None. |
Request Formats
application/json, text/json
{
"UserId": "sample string 1",
"PaymentId": "sample string 2",
"PaymentMethodId": "sample string 3",
"PaymentMethod": "sample string 4",
"PaymentType": "sample string 5",
"PaymentStatus": "sample string 6"
}
text/html
{"UserId":"sample string 1","PaymentId":"sample string 2","PaymentMethodId":"sample string 3","PaymentMethod":"sample string 4","PaymentType":"sample string 5","PaymentStatus":"sample string 6"}
application/xml, text/xml
<SavePaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Account"> <PaymentId>sample string 2</PaymentId> <PaymentMethod>sample string 4</PaymentMethod> <PaymentMethodId>sample string 3</PaymentMethodId> <PaymentStatus>sample string 6</PaymentStatus> <PaymentType>sample string 5</PaymentType> <UserId>sample string 1</UserId> </SavePaymentRequest>
application/x-www-form-urlencoded
Sample not available.
Response Information
Description:
Return type: SavePaymentResponse
Response Formats
application/json, text/json
{
"IsSuccess": true,
"SellerName": "sample string 2",
"SellerEmail": "sample string 3",
"InvoiceNumber": "sample string 4"
}
text/html
{"IsSuccess":true,"SellerName":"sample string 2","SellerEmail":"sample string 3","InvoiceNumber":"sample string 4"}
application/xml, text/xml
<SavePaymentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Account"> <InvoiceNumber>sample string 4</InvoiceNumber> <IsSuccess>true</IsSuccess> <SellerEmail>sample string 3</SellerEmail> <SellerName>sample string 2</SellerName> </SavePaymentResponse>
