---
title: "Get a customer's credit"
method: GET
path: "/v4/customers/{customerId}/credit"
tags: ["Customers"]
---

# Get a customer's credit

`GET /v4/customers/{customerId}/credit`

## Request

- Base URL: `https://api.slopepay.com`
- URL: `https://api.slopepay.com/v4/customers/{customerId}/credit`
- Auth: HTTP basic

Get a customer's credit summary.

A `linkToken` is required in the HTTP Header `Slope-Link-Token` in addition to the regular auth headers, see [Link Flow](https://developers.slopepay.com/docs/link-flow).

NOTE: Do not store this endpoint response as a customer's credit limit may change dynamically. You should not use the credit response information to determine whether to display Slope as a payment option as there are other factors that determine eligibility.

## Path parameters

- `customerId` string, required

## Headers

- `Slope-Link-Token` string
- `Slope-Access-Token` string, required

## Response `200`

The customers current credit information.

- CustomerCreditV4ResponseDto
  - `customerId` string, required: The customer ID
  - `preApprovedAmount` number, required: The total pre-approved amount that the customer is given in cents for the given currency
  - `outstandingAmount` number, required: The outstanding amount that the customer has utilized scoped to your merchant
  - `eligible` boolean, required: Whether or not the customer is pre-approved for financing
  - `pending` boolean, required: Whether or not the customer account is pending review or action
  - `currency` 'mxn' | 'usd', required
  - `shouldApply` boolean, required: Whether or not the customer should apply or re-apply for financing

## Other responses

- `400`: Returned when improperly formatted or missing fields in request body
- `401`: Returned when improper keys or headers are used in the request
- `403`: Returned when the caller is not authorized to access the resource
- `500`: Returned when an internal server error occurs

---

[API](https://skmtc.dev/slopepay/apis/slope-v4-api.md) - [All operations](https://skmtc.dev/slopepay/apis/slope-v4-api/llms.txt) - [OpenAPI document](https://skmtc.dev/slopepay/apis/slope-v4-api/revisions/96da70db337b?raw)
