Skip to main content

Overview

This page documents webhook subscriptionOrderPaymentWebhook. The full schema, parameters, and examples are rendered from the linked OpenAPI or webhook definition above. After a subscription billing cycle completes, GatePay sends an asynchronous notification to the merchant-configured callback URL. Depending on the payment channel, bizType may be SUBSCRIPTION_PAYMENT (Web3 on-chain deduction) or ACCOUNT_AUTH_DEDUCTION (Gate account authorized deduction).

Notes

  • Use bizId, paymentOrderNo, or deductOrderNo for idempotency after parsing data.
  • Signature verification, retries, parsing data, and the success response are covered in Notifications Overview; see Security and Signature for signing rules.

When notifications are sent

  • GatePay sends a notification after each subscription billing cycle completes (success or failure)
  • If delivery fails, GatePay retries according to Notifications overview
  • Use Deduction order detail as a query fallback when needed

Message structure

bizStatus values

data fields (bizType=SUBSCRIPTION_PAYMENT)

data fields (bizType=ACCOUNT_AUTH_DEDUCTION)

Callback examples

Web3 deduction success (bizType=SUBSCRIPTION_PAYMENT)

Authorized payment deduction success (bizType=ACCOUNT_AUTH_DEDUCTION)

Authorized payment deduction failed (bizType=ACCOUNT_AUTH_DEDUCTION)