API ReferenceWooCommerceSDKssoonWebhookssoon

Integrations

Look up WooCommerce orders

GET/beltempo/purchase/lookup

Batch-lookup endpoint: given a list of order_ids you tracked client-side, returns which of them have been credited cashback by Trevi.

Authentication

Requires an API key in the X-API-Key header.

Query parameters

order_idsstringrequired

Comma-separated list

GET/beltempo/purchase/lookup
curl "https://api.trevi.cash/beltempo/purchase/lookup?order_ids=WC-1042,WC-1043" \
  --header "X-API-Key: $BTPAY_API_KEY"
Was this page helpful?