Get payment order for logged in customer
Get payment order for logged in customer
GET /V1/carts/mine/payment-order/{id}
curl \
-X GET https://magento2.winkelstraat.mac/rest/all/V1/carts/mine/payment-order/{id}
Response examples (200)
{
"payment_source_details": {
"card": {
"name": "string",
"last_digits": "string",
"card_expiry_month": "string",
"card_expiry_year": "string",
"bin_details": {
"bin": "string"
}
}
},
"id": "string",
"mp_order_id": "string",
"status": "string",
"amount": 42.0,
"currency_code": "string"
}
Response examples (401)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (500)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (default)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}