Skip to content
Navigation

B2bApiOrderWebhookPayload

Order-created notification for B2B API orders. This is not the final success signal; the order object matches the polling response.

Fields

  • event
    b2b.order.created
    required
  • event_id
    string
    required
  • platform
    string
    required
  • source
    string
    required
  • created_at
    string
    required
    format: date-time
  • store
    object
    required
  • order
    object
    required

    Live responses omit keys that have no value instead of sending null.

    • order_id
      string
      required

      Cardzone order identifier. This is a reversible Base58 representation of the internal UUID.

      maxLength: 22 · minLength: 22 · pattern: ^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$
    • status
      processing
      or
      fulfilled
      or
      action_required
      or
      failed
      or
      canceled
      required

      processing: accepted or still fulfilling. fulfilled: successful; safe to mark the partner order successful. action_required: inspect actions and take the required action. failed: terminal failure; inspect failure_reason when present. Replacement codes the store paid for can still be added to codes, and a dashboard retry moves the order back to processing. canceled: terminal cancellation; no fulfillment action remains.

    • product_id
      string
      or null
      required
      format: uuid
    • quantity
      integer
      required
    • actions
      array of
      object
      required

      Actions required from the API consumer. Empty when no action is needed.

      • type
        wallet
        or
        fulfillment
        required
      • code
        wallet_topup_required
        or
        merchant_attention_required
        or
        manual_review_required
        required

        Machine-readable action the API consumer should handle.

      • message
        string
        required

        Human-readable action summary. Wallet actions include the aggregate additional top-up amount needed for all current wallet-blocked orders in the store.

    • created_at
      string
      required
      format: date-time
    • merchant_order_ref
      optional
      string
      or null

      Merchant order reference supplied on create, when present.

    • product_code
      optional
      string
      or null
    • purchase_price
      optional
      object
      • amount
        string
        required

        Decimal amount as a string

      • currency
        string
        required
    • recommended_retail_price
      optional
      object
      • amount
        string
        required

        Decimal amount as a string

      • currency
        string
        required
    • code
      optional
      string
      or null

      First delivered voucher code/PIN when available

    • codes
      optional
      array of
      string

      All delivered voucher codes/PINs when available. Includes replacement codes Cardzone delivered and charged to the store, which can appear while status is failed.

    • failure_reason
      optional
      string
      or null

      Backward-compatible human-readable failure summary. Provider messages and responses are never exposed here.

    • failure_code
      optional
      fulfillment_failed
      or
      player_id_incorrect
      or null

      Cardzone-owned terminal failure identifier. fulfillment_failed is the generic failure and player_id_incorrect means the submitted player ID was definitively rejected. Provider messages and responses are never exposed here.

Type to search…

↑↓ navigate↵ selectEsc close