Saltar al contenido principal
GET
/
customers
/
lines-of-credit
Listar
curl --request GET \
  --url https://sandbox.api.riqra.com/customers/lines-of-credit \
  --header 'api-key: <api-key>'
{
  "data": [
    {
      "availableCredit": 123,
      "creditLimit": 123,
      "isEnabled": true,
      "canOverdraft": true,
      "customer": {
        "id": 123,
        "firstName": "<string>",
        "lastName": "<string>",
        "email": "<string>",
        "loginCode": "<string>"
      }
    }
  ],
  "pagination": {
    "page": 123,
    "pages": 123,
    "total": 123,
    "hasPrevPage": true,
    "hasNextPage": true
  }
}

Authorizations

api-key
string
header
required

Todas las llamadas al API tienen que contener este header junto a la clave para poder autenticar y autorizar al cliente.

Response

200 - application/json

OK

data
object[]
pagination
object