POST api/payment
Request Information
URI Parameters
None.
Body Parameters
paymentName | Description | Type | Additional information |
---|---|---|---|
customerid | string |
None. |
|
customerEmail | string |
None. |
|
site | string |
None. |
|
amount | decimal number |
None. |
|
currency | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "customerid": "sample string 1", "customerEmail": "sample string 2", "site": "sample string 3", "amount": 4.1, "currency": "sample string 5" }
text/html
Sample:
{"customerid":"sample string 1","customerEmail":"sample string 2","site":"sample string 3","amount":4.1,"currency":"sample string 5"}
application/xml, text/xml
Sample:
<payment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/web2019solu.Models"> <amount>4.1</amount> <currency>sample string 5</currency> <customerEmail>sample string 2</customerEmail> <customerid>sample string 1</customerid> <site>sample string 3</site> </payment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |