catalog
Callout catalog: asks your endpoint for the items a viewer can buy from a seller.
Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Unique id of this delivery. Deduplicate on it.
Unix time in seconds when the delivery was signed.
Standard Webhooks signature, v1,<base64 HMAC-SHA256> of id.timestamp.body.
Always catalog.
Request Bodyrequired
Section titled “Request Bodyrequired”Callout catalog: asks your endpoint for the items a viewer can buy from a seller.
object
Conversation the catalog is opened from.
Language of the viewer.
External id of the seller.
External id of the user viewing the catalog.
Example generated
{ "conversation_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "lang": "example", "seller": "example", "viewer": "example"}Responses
Section titled “Responses”The answer we use
Your answer to the catalog callout.
object
Items the viewer can buy.
Something a buyer can purchase from a seller.
object
ISO 4217 currency of the price.
The item’s id on your side.
The item’s kind, for example show or video.
The price in minor units, 1500 for 15.00.
The item’s name.
Example
{ "balance": null, "items": [ { "currency": "EUR", "description": "20 minutes", "id": "private-show", "kind": "show", "price_minor": 1500, "title": "Private show" } ]}