POST api/Payment/SellerUserCurrentCashPayment
Cayci icin Kullanici Cari Nakit Odeme Alma
Request Information
URI Parameters
None.
Body Parameters
SellerUserCurrentCashPaymentInput| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | globally unique identifier |
None. |
|
| Amount | decimal number |
None. |
|
| Token | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "9602aa7a-8e39-4379-8c4d-214346323c00",
"Amount": 2.0,
"Token": "sample string 3"
}
text/xml
Sample:
<SellerUserCurrentCashPaymentInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BiCay.Services.PaymentServices.Dto"> <Token xmlns="http://schemas.datacontract.org/2004/07/BiCay.Services.Base.Dtos">sample string 3</Token> <Amount>2</Amount> <UserId>9602aa7a-8e39-4379-8c4d-214346323c00</UserId> </SellerUserCurrentCashPaymentInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SellerUserCurrentCashPaymentDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| PaymentNumber | string |
None. |
|
| Amount | decimal number |
None. |
|
| LastAmount | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"Message": "sample string 2",
"PaymentNumber": "sample string 3",
"Amount": 4.0,
"LastAmount": 5.0
}
text/xml
Sample:
<SellerUserCurrentCashPaymentDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BiCay.Services.PaymentServices.Dto"> <Amount>4</Amount> <LastAmount>5</LastAmount> <Message>sample string 2</Message> <PaymentNumber>sample string 3</PaymentNumber> <Status>true</Status> </SellerUserCurrentCashPaymentDto>