Schemas/Objects
PaidEvent
A signed notification that a fixed-price order has reached its paid threshold.
Type
objectProperties
idstringRequiredtypestringRequiredalways order.paidlinkUuidstringRequiredpattern ^[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 nullRequiredamountUsdstringRequiredDollars and cents as a decimal string.
pattern ^\d+\.\d{2}$countedUsdstringRequiredDollars and cents as a decimal string.
pattern ^\d+\.\d{2}$leftUsdstringRequiredDollars and cents as a decimal string.
pattern ^\d+\.\d{2}$paidbooleanRequiredalways true
Example values
{
"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
{
"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."
}