Create a credit line for an approved application
Path Parameters
- Type: string Format: uuididrequired
Body
required
application/json
- Type: string Format: dateanchor
Date requiredfull-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- enumcurrencyrequiredvalues
- C
A D - U
S D
- Type: integerfacility
Limit greater than:0min:-9007199254740991max:9007199254740991requiredInteger numbers.
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for post/applications/{id}/credit-line
curl https://api-sandbox.tryslatehq.com/applications/123e4567-e89b-12d3-a456-426614174000/credit-line \
--request POST \
--header 'Content-Type: application/json' \
--header 'x-api-key: YOUR_SECRET_TOKEN' \
--data '{
"facilityLimit": -9007199254740991,
"currency": "CAD",
"anchorDate": ""
}'
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"applicationId": "123e4567-e89b-12d3-a456-426614174000",
"customerId": "123e4567-e89b-12d3-a456-426614174000",
"organizationId": "123e4567-e89b-12d3-a456-426614174000",
"facilityLimit": 1000000,
"currency": "CAD",
"status": "active",
"anchorDate": "2025-01-01",
"factorFeeRate": "0.030000",
"minimumPaymentRate": "0.100000",
"createdAt": "2025-01-01T00:00:00Z",
"updatedAt": "2025-01-01T00:00:00Z"
}