Skip to main content
POST
/
v0
/
lending
/
disbursements
Create a Disbursement
curl --request POST \
  --url https://api.sandbox.lead.bank/v0/lending/disbursements \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: <idempotency-key>' \
  --data '
{
  "client_loan_id": "<string>",
  "payment_method": "ach",
  "payment_details": {
    "statement_descriptor": "P2P Credit",
    "counterparty": {
      "name": "Lara Smikle",
      "account_number": "1032345678",
      "routing_number": "021000021",
      "account_type": "checking"
    },
    "delivery_type": "same_business_day"
  }
}
'
{
  "id": "disbursement_xyz001",
  "client_loan_id": "<string>",
  "created_at": "2022-06-27T11:22:33Z",
  "updated_at": "2022-06-27T11:22:33Z",
  "status": "succeeded",
  "amount": 123,
  "currency_code": "USD",
  "payment_method": "ach",
  "payment_details": {
    "delivery_type": "same_business_day",
    "statement_descriptor": "P2P Credit",
    "counterparty": {
      "name": "Lara Smikle",
      "account_number": "1032345678",
      "routing_number": "021000021",
      "account_type": "checking"
    },
    "effective_date": "<string>",
    "trace_number": "123456789012345",
    "correction": {
      "account_number": "1032345678",
      "routing_number": "021000021",
      "account_type": "checking"
    },
    "failure": {
      "failure_code": "account_closed",
      "failure_details": "account_closed"
    }
  }
}
The Disbursement API is currently not available for new partners. Please refer to the Lending and Overdraft overview for more details about the latest version of the product.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string
required

Idempotency key

Maximum string length: 255

Body

application/json
client_loan_id
string
required

The ID of your loan. This must be the same loan_id used in the Loan Origination Request.

payment_method
enum<string>
required

The payment method chosen for disbursement. Only ACH is supported today.

Available options:
ach
Example:

"ach"

payment_details
object
required

Response

Disbursement object created.

id
string

id of the Disbursement object

Pattern: ^disbursement_\w+$
Example:

"disbursement_xyz001"

client_loan_id
string

The ID of your loan. This must be the same loan_id used in the Loan Origination Request.

created_at
string<date-time>

The ISO-8601 timestamp at which the Disbursement object was created.

Example:

"2022-06-27T11:22:33Z"

updated_at
string<date-time>

The ISO-8601 timestamp at which the Disbursement object was last updated.

Example:

"2022-06-27T11:22:33Z"

status
enum<string>

The current status of this Disbursement object.

Available options:
created,
processing,
succeeded,
canceled,
failed
Example:

"succeeded"

amount
integer<int64>

Amount disbursed to the counterparty in cents. This amount will align with disbursement_amount from the Loan Origination Request

currency_code
enum<string>

A three-letter currency code as defined in ISO 4217.

Available options:
USD
Example:

"USD"

payment_method
enum<string>

The payment method chosen for disbursement. Only ACH is supported today.

Available options:
ach
Example:

"ach"

payment_details
object