POST api/Cart/CheckPayment
Request Information
URI Parameters
None.
Body Parameters
MercadoPagoEntityName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
PaymentId | string |
None. |
|
PaymentStatus | string |
None. |
|
PaymentStatusDetail | string |
None. |
|
PreferenceId | string |
None. |
|
ObjectState | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "PaymentId": "sample string 2", "PaymentStatus": "sample string 3", "PaymentStatusDetail": "sample string 4", "PreferenceId": "sample string 5", "ObjectState": 6 }
application/xml, text/xml
Sample:
<MercadoPagoEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities"> <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.Framework.Interfaces">6</ObjectState> <Id>1</Id> <PaymentId>sample string 2</PaymentId> <PaymentStatus>sample string 3</PaymentStatus> <PaymentStatusDetail>sample string 4</PaymentStatusDetail> <PreferenceId>sample string 5</PreferenceId> </MercadoPagoEntity>
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>