---
title: "A checkout URL was generated for a customer"
method: POST
path: "customer_checkout_url_generated"
---

# A checkout URL was generated for a customer

`POST customer_checkout_url_generated` (webhook)

A checkout URL was generated for a customer

## Headers

- `X-Lago-Signature` string, required
- `X-Lago-Signature-Algorithm` 'jwt' | 'hmac', required
- `X-Lago-Unique-Key` string, uuid, required

## Payload

- object
  - `webhook_type` 'customer.checkout_url_generated', required
  - `object_type` 'payment_provider_customer_checkout_url', required
  - `organization_id` string, uuid, required: Unique identifier of the organization, created by Lago.
  - `payment_provider_customer_checkout_url` CustomerCheckoutUrl, required
    - `lago_customer_id` string, required: Unique identifier assigned to the customer within the Lago application. This ID is exclusively created by Lago and serves as a unique identifier for the customer's record within the Lago system
    - `external_customer_id` string, required: The customer external unique identifier (provided by your own application)
    - `payment_provider` string, required: The Payment Provider name linked to the Customer.
    - `payment_provider_code` string: Code of the payment provider
    - `checkout_url` string: The new generated Payment Provider Checkout URL for the Customer.

## Acknowledgement `200`

Return a 200 status to indicate that the data was received successfully

---

[API](https://skmtc.dev/getlago/apis/lago-api-documentation.md) - [All operations](https://skmtc.dev/getlago/apis/lago-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/getlago/apis/lago-api-documentation/revisions/b216574b9612?raw)
