Create a credit line for an approved application

Path Parameters
  • id
    Type: string Format: uuid
    required
Body
required
application/json
  • anchorDate
    Type: string Format: date
    required

    full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21

  • currency
    enum
    required
    values
    • CAD
    • USD
  • facilityLimit
    Type: integer
    greater than:  
    0
    min:  
    -9007199254740991
    max:  
    9007199254740991
    required

    Integer 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"
}