Skip to content
Contact support
Schemas/Objects

PaidEvent

A signed notification that a fixed-price order has reached its paid threshold.

Typeobject

Properties

idstringRequired
typestringRequired
always order.paid
linkUuidstringRequired
pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$
externalReferencestring or nullRequired
amountUsdstringRequired

Dollars and cents as a decimal string.

pattern ^\d+\.\d{2}$
countedUsdstringRequired

Dollars and cents as a decimal string.

pattern ^\d+\.\d{2}$
leftUsdstringRequired

Dollars and cents as a decimal string.

pattern ^\d+\.\d{2}$
paidbooleanRequired
always true

Example values

JSON example
{
  "id": "paid-11111111-2222-4333-8444-555555555555",
  "type": "order.paid",
  "linkUuid": "11111111-2222-4333-8444-555555555555",
  "externalReference": "order-42",
  "amountUsd": "100.00",
  "countedUsd": "100.00",
  "leftUsd": "0.00",
  "paid": true
}

JSON schema

PaidEvent
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "const": "order.paid"
    },
    "linkUuid": {
      "$ref": "#/components/schemas/Uuid"
    },
    "externalReference": {
      "type": [
        "string",
        "null"
      ]
    },
    "amountUsd": {
      "$ref": "#/components/schemas/Dollars"
    },
    "countedUsd": {
      "$ref": "#/components/schemas/Dollars"
    },
    "leftUsd": {
      "$ref": "#/components/schemas/Dollars"
    },
    "paid": {
      "type": "boolean",
      "const": true
    }
  },
  "required": [
    "id",
    "type",
    "linkUuid",
    "externalReference",
    "amountUsd",
    "countedUsd",
    "leftUsd",
    "paid"
  ],
  "examples": [
    {
      "id": "paid-11111111-2222-4333-8444-555555555555",
      "type": "order.paid",
      "linkUuid": "11111111-2222-4333-8444-555555555555",
      "externalReference": "order-42",
      "amountUsd": "100.00",
      "countedUsd": "100.00",
      "leftUsd": "0.00",
      "paid": true
    }
  ],
  "description": "A signed notification that a fixed-price order has reached its paid threshold."
}

We use necessary cookies to run this site. With your permission, we also use analytics and advertising technologies to measure visits and downloads.