Charges a customer through the method you select. Returns the payment object with its current status.
Parameters Request cURL JavaScript Python
curl https://api.example.com/v1/payments \
-u sk_test_example: \
-d amount=4900 \
-d currency=EUR \
-d method=bank_transfer \
-d reference=order-10482 import { PaymentsClient } from '@examplepay/node';
const ll = new PaymentsClient('sk_test_example');
const payment = await ll.payments.create({
amount: 4900,
currency: 'EUR',
method: 'bank_transfer',
reference: 'order-10482',
});
console.log(payment.status); // pending import examplepay
ll = examplepay.Client('sk_test_example')
payment = ll.payments.create(
amount=4900,
currency='EUR',
method='bank_transfer',
reference='order-10482',
)
print(payment.status) # pending Response HTTP 201
{
"id": "pay_8Kd2mQ",
"object": "payment",
"amount": 4900,
"currency": "EUR",
"method": "bank_transfer",
"status": "pending",
"reference": "order-10482",
"created": "2026-10-26T09:14:31Z",
"expires_at": "2026-10-28T09:14:31Z",
"redirect_url": "https://pay.example.com/p/pay_8Kd2mQ"
} Fetches the payment with its full timeline: authorization, captures, refunds, and dispute state.
Parameters Request cURL JavaScript Python
curl https://api.example.com/v1/payments/pay_8Kd2mQ \
-u sk_test_example: const payment = await ll.payments.retrieve('pay_8Kd2mQ');
console.log(payment.status); payment = ll.payments.retrieve('pay_8Kd2mQ')
print(payment.status) Response HTTP 200
{
"id": "pay_8Kd2mQ",
"object": "payment",
"amount": 4900,
"currency": "EUR",
"status": "succeeded",
"timeline": [
{ "event": "created", "at": "2026-10-26T09:14:31Z" },
{ "event": "funds_reserved", "at": "2026-10-26T15:02:11Z" },
{ "event": "settled", "at": "2026-10-27T06:00:04Z" }
]
} Returns payments newest first, filterable by status, method, and date range.
Parameters Request cURL JavaScript Python
curl "https://api.example.com/v1/payments?limit=2" \
-u sk_test_example: const payments = await ll.payments.list({ limit: 2 }); payments = ll.payments.list(limit=2) Response HTTP 200
{
"object": "list",
"has_more": true,
"data": [
{ "id": "pay_8Kd2mQ", "amount": 4900, "currency": "EUR", "status": "succeeded" },
{ "id": "pay_3Fn9xR", "amount": 12900, "currency": "GBP", "status": "pending" }
]
} Sends funds from one of your balances to a bank account, with maker-checker approval applied per your program rules.
Parameters Request cURL JavaScript Python
curl https://api.example.com/v1/payouts \
-u sk_test_example: \
-d amount=250000 \
-d currency=EUR \
-d destination=dest_2Lf8kP \
-d schedule=sepa_1600 const payout = await ll.payouts.create({
amount: 250000,
currency: 'EUR',
destination: 'dest_2Lf8kP',
schedule: 'sepa_1600',
}); payout = ll.payouts.create(
amount=250000,
currency='EUR',
destination='dest_2Lf8kP',
schedule='sepa_1600',
) Response HTTP 201
{
"id": "po_9Qw4tN",
"object": "payout",
"amount": 250000,
"currency": "EUR",
"status": "awaiting_approval",
"schedule": "sepa_1600",
"arrival_estimate": "2026-10-27",
"approval": { "required": true, "approvers": 2 }
} Returns every balance you hold, with available and pending amounts per currency.
Parameters Request cURL JavaScript Python
curl https://api.example.com/v1/balances \
-u sk_test_example: const balances = await ll.balances.list(); balances = ll.balances.list() Response HTTP 200
{
"object": "list",
"data": [
{ "currency": "EUR", "available": 12840255, "pending": 310400 },
{ "currency": "GBP", "available": 4021880, "pending": 0 },
{ "currency": "USD", "available": 9615300, "pending": 88900 }
]
} Creates a virtual card with spend controls that are enforced at authorization.
Parameters Request cURL JavaScript Python
curl https://api.example.com/v1/cards \
-u sk_test_example: \
-d currency=EUR \
-d limit_amount=50000 \
-d limit_period=monthly \
-d allowed_categories[]=saas const card = await ll.cards.create({
currency: 'EUR',
limit_amount: 50000,
limit_period: 'monthly',
allowed_categories: ['saas'],
}); card = ll.cards.create(
currency='EUR',
limit_amount=50000,
limit_period='monthly',
allowed_categories=['saas'],
) Response HTTP 201
{
"id": "card_5Tr7vB",
"object": "card",
"currency": "EUR",
"status": "active",
"limit": { "amount": 50000, "period": "monthly" },
"pan_last4": "4417",
"secrets_url": "https://dashboard.example.com/cards/card_5Tr7vB/reveal"
}