Saltar al contenido principal
PUT
/
customers
/
{customerId}
/
line-of-credit
Actualizar
curl --request PUT \
  --url https://sandbox.api.riqra.com/customers/{customerId}/line-of-credit \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "availableCredit": 123,
  "creditLimit": 123,
  "isEnabled": true,
  "canOverdraft": true
}
'
{
  "errors": [
    {
      "message": "<string>",
      "code": 123
    }
  ]
}

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.

Path Parameters

customerId
integer
required

ID del cliente.

Body

application/json
availableCredit
number
required
creditLimit
number
required
isEnabled
boolean
required
canOverdraft
boolean
required

Response

No Content