Skip to main content
GET
/
v1
/
loans
/
external
/
{loan_external_id}
/
repayments
/
{transaction_id}
Get a repayment
curl --request GET \
  --url https://api-staging.bsa.ai/v1/loans/external/{loan_external_id}/repayments/{transaction_id} \
  --header 'Authorization: Bearer <token>'

Documentation Index

Fetch the complete documentation index at: https://docs.lms.bsa.ai/llms.txt

Use this file to discover all available pages before exploring further.

Two equivalent forms — prefer the externalId form for partner integrations.

Path parameters

loan_external_id
string
required
The loan’s externalId. On the /v1/loans/{loan_id}/repayments/{transaction_id} form, this is the numeric LMS id instead.
transaction_id
string
required

Examples

# By loan externalId (recommended)
curl -sf "$BASE/v1/loans/external/halotel-tx-12345/repayments/7821" \
  -H "Authorization: Bearer $TOKEN"

# By LMS id
curl -sf "$BASE/v1/loans/501/repayments/7821" \
  -H "Authorization: Bearer $TOKEN"

Response

200 OK returns the repayment object.

Errors

CodeWhen
not_foundNo loan or transaction with that id / externalId