Obtener un cargo de una orden

Obtener los detalles de un solo cargo relacionado a una orden

Argumentos

Tipo

Descripción

id

string

El id de la orden.

id

string

El id del cargo.

Solicitud

curl --location --request GET 'https://apipp.conekta.io/orders/ord_2oDSZ7p4jq3G8gdeM/charges/5f3735cf885a6373b8f616ev' \
--header 'Accept: application/vnd.conekta-v2.0.0+json' \
--header 'Content-Type: application/json; charset=utf-8' \
-u key_xxxxxxxxxxxxxx:
Respuesta
{
          id: "5f3735cf885a6373b8f616ev",
          object: "charge",
          status: "pending_payment",
          amount: 35000,
          fee: 1279,
          reference_id: "Tracking number: 54323456",
          order_id: "ord_2oDSZ7p4jq3G8gdeM",
          livemode: false,
          created_at: 1597069683,
          currency: "MXN",
          payment_method: {
              service_name: "OxxoPay",
              object: "cash_payment",
              type: "oxxo",
              expires_at: 1599661683,
              store_name: "OXXO",
              reference: "93345678901234"
          }
      }