ValwispDocs
DesarrolladoresAPI RESTReferenceAccounting

Aprobar o rechazar el crédito de un cliente recién registrado

PATCH
/api/v1/accounting/requests/{clientId}/decide
AuthorizationBearer <token>

Ingresa tu access token JWT (sin el prefijo Bearer)

In: header

Path Parameters

clientId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X PATCH "https://example.com/api/v1/accounting/requests/string/decide" \  -H "Content-Type: application/json" \  -d '{    "decision": "APPROVED"  }'
Empty