{
"lago_id": "4cf085a7-c196-4f07-a543-97c50ec6e8b2",
"lago_customer_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
"external_customer_id": "5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba",
"invoice_ids": [
"486b147a-02a1-4ccf-8603-f3541fc25e7a"
],
"invoice_numbers": [
"HOO-202D-005-001"
],
"lago_payable_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
"payable_type": "Invoice",
"amount_cents": 1099,
"amount_currency": "USD",
"status": "Completed",
"payment_status": "succeeded",
"type": "manual",
"reference": "ref1",
"payment_provider_code": "stripe_prod",
"payment_provider_type": "stripe",
"external_payment_id": "pi_5eb0285741bc6ba",
"provider_payment_id": "pi_5eb0285741bc6ba",
"provider_customer_id": "cus_5eb0285bcf941bc6ba",
"next_action": {
"type": "redirect_to_url",
"redirect_to_url": {
"url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_AAA&payment_intent=pi_BBB&payment_intent_client_secret=pi_BBB&publishable_key=pk_test_CCC",
"return_url": "https://app.example.com"
}
},
"created_at": "2025-01-21T00:10:29Z"
}The payment object
This object represents a payment generated by Lago for one or multiple invoices.
The unique identifier of the payment, created by Lago.
"4cf085a7-c196-4f07-a543-97c50ec6e8b2"
Unique identifier of the customer, created by Lago.
"1a901a90-1a90-1a90-1a90-1a901a901a90"
The customer external unique identifier (provided by your own application)
"5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba"
List of invoice IDs associated with the payment.
List of invoice numbers associated with the payment.
The unique identifier of the paid resource, created by Lago.
"1a901a90-1a90-1a90-1a90-1a901a901a90"
The type of the paid resource, associated with the lago_payable_id.
Invoice, PaymentRequest "Invoice"
The amount of the payment in cents.
1099
The currency of the payment amount.
AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BIF, BMD, BND, BOB, BRL, BSD, BWP, BYN, BZD, CAD, CDF, CHF, CLF, CLP, CNY, COP, CRC, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, ISK, JMD, JPY, KES, KGS, KHR, KMF, KRW, KYD, KZT, LAK, LBP, LKR, LRD, LSL, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRO, MUR, MVR, MWK, MXN, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SEK, SGD, SHP, SLL, SOS, SRD, STD, SYP, SZL, THB, TJS, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, UYU, UZS, VND, VUV, WST, XAF, XCD, XOF, XPF, YER, ZAR, ZMW "USD"
The status of the payment within the payment provider. It differs from one payment provider to another.
"Completed"
The normalized payment status by Lago.
succeeded, failed, pending, processing "succeeded"
The type of payment.
manual, provider "manual"
Reference for the payment. Set on manual payments only; it is always null for payments collected through a payment provider.
"ref1"
Code of the payment provider. It is null for manual payments, which are not attached to a payment provider.
"stripe_prod"
The type of payment provider. It is null for manual payments, which are not attached to a payment provider.
null, adyen, cashfree, gocardless, stripe, flutterwave, moneyhash "stripe"
Deprecated. Use provider_payment_id instead. It holds the same value.
"pi_5eb0285741bc6ba"
Unique identifier of the payment within the payment provider (if applicable).
"pi_5eb0285741bc6ba"
Unique identifier of the customer within the payment provider. It is null for manual payments.
"cus_5eb0285bcf941bc6ba"
The next action to be taken by the customer to complete the payment. Should usually be empty, except when receiving the payment.requires_action webhook.
{
"type": "redirect_to_url",
"redirect_to_url": {
"url": "https://hooks.stripe.com/3d_secure_2/hosted?merchant=acct_AAA&payment_intent=pi_BBB&payment_intent_client_secret=pi_BBB&publishable_key=pk_test_CCC",
"return_url": "https://app.example.com"
}
}
Timestamp when the payment was created in Lago's database, not on the payment provider.
"2025-01-21T00:10:29Z"
The payment method used for the payment. It is only sent on the payment.succeeded webhook, and only when a payment method is attached to the payment.
Show child attributes
Show child attributes