POST api/Cart/GetPayment
Request Information
URI Parameters
None.
Body Parameters
TotalParamName | Description | Type | Additional information |
---|---|---|---|
Total | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "Total": 1.0 }
application/xml, text/xml
Sample:
<TotalParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities"> <Total>1</Total> </TotalParam>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
MercadoPagoResultName | Description | Type | Additional information |
---|---|---|---|
preference_id | string |
None. |
|
payment_id | string |
None. |
|
payment_status | string |
None. |
|
payment_status_detail | string |
None. |
|
external_reference | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "preference_id": "sample string 1", "payment_id": "sample string 2", "payment_status": "sample string 3", "payment_status_detail": "sample string 4", "external_reference": "sample string 5" }
application/xml, text/xml
Sample:
<MercadoPagoResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities.Domain"> <external_reference>sample string 5</external_reference> <payment_id>sample string 2</payment_id> <payment_status>sample string 3</payment_status> <payment_status_detail>sample string 4</payment_status_detail> <preference_id>sample string 1</preference_id> </MercadoPagoResult>