Get payment status

Environments

https://api.aplazo.net

Get Payment Status

get

Retrieves the current status of a payment associated with the given cartId. If it has not been paid, customer object fields will be null or empty.

Authorizations
Path parameters
cartIdstringRequired

Identifier in the merchant POS for the order/transaction.

Example: cart-123
Responses
200
Payment status returned successfully.
application/json
get
GET /api/pos/loan/{cartId} HTTP/1.1
Host: 
api_token: YOUR_API_KEY
Accept: */*
200

Payment status returned successfully.

[
  {
    "loanId": 162536,
    "status": "OUTSTANDING",
    "zipCode": "07670",
    "installments": 5,
    "totalAmount": "1300.0",
    "orderDiscount": "100.0",
    "discountType": "a",
    "authorizeDate": "2025-01-23T16:43:03.271173",
    "products": [
      {
        "id": "191468",
        "externalId": "AM-34",
        "quantity": 1,
        "unitPrice": 100,
        "discount": null,
        "discountType": null,
        "discountPrice": null,
        "title": "Tenis Negro Talla 28",
        "description": "Calzado con forro de tela y cubierta de piel."
      }
    ],
    "customer": {
      "username": "correo@correo.com",
      "firstName": "Fito Paez",
      "lastName": "Flores",
      "motherLastName": "Flores",
      "email": "correo@correo.com",
      "phone": "525548813917"
    }
  }
]

Last updated

Was this helpful?