Airwallex logo

Lender

Copy for LLMView as Markdown
GET /api/v1/lending/lenders/{lender_id}List all Lender Details

List all Lender DetailsBeta

GET /api/v1/lending/lenders/{lender_id}

List all Lender Details is in beta
We may include major new functionality or changes before general release. Learn more about beta.Docs

Get details of the specified lender.

Path parameters
lender_idrequiredstring

Lender unique identifier.

Response body - 200 OK
account_idstring

Airwallex account unique identifier of the lender.

balancesarray

Balances of the lender's account.

balances.available_amountnumber

Available balance for covering funds extended to borrowers.

balances.currencystring

Currency in which lending is extended.

balances.reserved_amountnumber

Amount reserved for use in future transactions.

idstring

Lender unique identifier.

lending_settingsobject

Lending limit settings and total allocation details.

lending_settings.activation_statusstring

Activation status of the lender.

ACTIVE
INACTIVE
lending_settings.lending_limitsarray

Per currency limit of lending that can be extended across all associated borrowers in total.

lending_settings.lending_limits.currencystring

Currency in which lending is extended.

lending_settings.lending_limits.limitnumber

Upper limit of lending that can be extended across all associated borrowers in total.

lending_statisticsarray

Statistics relating to the current distribution of lending.

lending_statistics.currencystring

Currency in which lending is extended.

lending_statistics.limit_allocatednumber

Lending currently extended across all existing borrowers, up to the lending_limit defined in lending_settings.

Errors
Error statusDescription
400

invalid_argument

401

credentials_invalid

404

not_found

500

service_unavailable

GET /api/v1/lending/lenders/{lender_id}
$curl --request GET \
> --url 'https://api.sandbox.airwallex.com/api/v1/lending/lenders/lender_id' \
> --header 'Authorization: Bearer {{ACCESS_TOKEN}}' \
> --header 'Content-Type: application/json'
Response (200 OK)
1{
2 "account_id": "acct_O1rOJEaPTi6RphseAaJPhw",
3 "balances": [
4 {
5 "available_amount": 89500,
6 "currency": "USD",
7 "reserved_amount": 500
8 }
9 ],
10 "id": "e3d88510-3f98-438c-8749-6fd820bf43fe",
11 "lending_settings": {
12 "activation_status": "ACTIVE",
13 "lending_limits": [
14 {
15 "currency": "USD",
16 "limit": 100000
17 }
18 ]
19 },
20 "lending_statistics": [
21 {
22 "currency": "USD",
23 "limit_allocated": 1000
24 }
25 ]
26}
Was this section helpful?