---
title: "Top-Up Link created"
method: POST
path: "acceptanceTopUpLinkCreated"
tags: ["Top-Up Links"]
---

# Top-Up Link created

`POST acceptanceTopUpLinkCreated` (webhook)

Triggered when the `acceptance.top_up_link.created` webhook event is emitted. Your API will receive a POST request at the webhook URL you configured. `data.topUpLink` carries the complete immutable Top-Up Link resource as created. The link expires 24 hours after creation, funds a single purchase, and is not bound to a specific payer. `data.topUpLink.customerDisplay.merchantName` contains the resolved name stored at creation, including the entity's profile-name fallback. `orderTotalAmount` and `redirectUrl` are omitted when they were not supplied at creation.

## Headers

- `X-Webhook-Signature` string, required
- `X-Hook0-Signature` string, required

## Payload

- AcceptanceTopUpLinkCreatedEvent: The `acceptance.top_up_link.created` event. Emitted when a Top-Up Link is created. `data.topUpLink` carries the complete immutable resource. The link expires 24 hours after creation, funds a single purchase, and is not bound to a specific payer. `data.topUpLink.customerDisplay.merchantName` contains the resolved name stored at creation, including the entity's profile-name fallback.
  - [`TopUpLinkEventBase`](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57/schema?at=%2Fcomponents%2Fschemas%2FTopUpLinkEventBase)
  - object
    - `eventType` 'acceptance.top_up_link.created', required: The type of webhook event.
    - `data` TopUpLinkCreatedEventData, required: The `data` payload for the `acceptance.top_up_link.created` event. Carries the complete immutable `topUpLink` resource as created, including the resolved `customerDisplay.merchantName`. `orderTotalAmount` and `redirectUrl` are omitted when they were not supplied at creation.
      - `topUpLink` TopUpLink, required: A shareable link that lets a payer add funds to their balance through a hosted Top-Up flow. The resource is immutable once created. The link expires 24 hours after creation and funds a single purchase: once a purchase succeeds, the link is spent and cannot be used again. A purchase that fails does not consume the link, so the payer can retry until it expires. A link is not bound to a specific payer. `orderTotalAmount` and `redirectUrl` are omitted from the response when they were not supplied at creation; they are never returned as null. `customerDisplay` contains the resolved merchant name stored at creation, including the entity's profile name when no nonempty override was supplied. The response and creation webhook always include `customerDisplay` and its `merchantName`.
        - `topUpLinkId` string, required: The ID of the Top-Up Link, a UUID prefixed by `topUpLink_`.
        - `topUpAmount` TopUpLinkAmount, required: The merchant-provided initial suggested net amount to add for the link's single purchase, denominated in `asset`. The suggestion remains fixed on the link and is not recomputed from `orderTotalAmount` or the payer's current available balance. The payer can adjust the amount they add in the hosted flow. Fiat fees are outside this value.
          - [`PositiveDecimal`](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57/schema?at=%2Fcomponents%2Fschemas%2FPositiveDecimal)
          - string
        - `asset` TopUpLinkAsset, required: The asset credited by the Top-Up Link. Currently, only `usdc` is supported.
          - [`Asset`](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57/schema?at=%2Fcomponents%2Fschemas%2FAsset)
          - 'usdc'
        - `orderTotalAmount` TopUpLinkAmount: The total balance, denominated in `asset`, that the merchant expects the payer to need to complete the order, as supplied at creation. When present, the hosted Top-Up page shows the order total and the payer's current available balance, and computes the remaining shortfall from those values. This live shortfall is separate from `topUpAmount` and does not replace or change that fixed suggestion. It does not limit the amount the payer can add. Omitted when not supplied at creation.
          - [`PositiveDecimal`](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57/schema?at=%2Fcomponents%2Fschemas%2FPositiveDecimal)
          - string
        - `redirectUrl` string, uri: The absolute HTTPS URL to which the payer is redirected after the top-up completes, as supplied at creation. Omitted when not supplied at creation. This value can contain sensitive merchant parameters; treat it as secret and do not log it.
        - `customerDisplay` TopUpCustomerDisplay, required: Display details resolved at creation and stored on the immutable Top-Up Link. These details are returned in the create response and creation webhook.
          - `merchantName` string, required: The stored merchant name displayed on the hosted Top-Up page. This is the supplied name with surrounding whitespace removed, or the entity's profile name when no nonempty override was supplied. The stored name does not change when the entity's profile changes. The supplied-name length limit does not constrain the profile-name fallback.
        - `topUpUrl` string, uri, required: The hosted Top-Up page URL. Share this URL only with the intended payer. The URL identifies the Top-Up Link but does not authorize a purchase; the payer must authenticate and approve the purchase.
        - `expiresAt` string, date-time, required: The UTC ISO 8601 timestamp after which the link can no longer be used, 24 hours after creation. A link that has already funded a purchase is spent before this time.
        - `createdAt` string, date-time, required: The UTC ISO 8601 timestamp at which the Top-Up Link was created.

## Acknowledgement `200`

Webhook received and processed successfully.

## Other responses

- `401`: Invalid signature.

---

[API](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis.md) - [All operations](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57?raw)
