POST
Profit share result webhook
Receive profit share and reversal results, and use
relatedTxnId and relatedMerchantTxnId to associate them with the original payment.Webhook URL
The notification URL depends on how the profit share is initiated. Automatic profit shares and reversals send no notification if the URL is not configured.
View URL rulesHide URL rules
Automatic profit shares and reversals: Notifications are sent to
paymentMethodOptions.share.profitShareNotifyUrl from the original payment. No automatic notification is sent if it is absent.API-initiated profit shares and reversals: Pass
urlCallback in the request; it can be omitted if the original payment already has profitShareNotifyUrl configured.Verification
Verification guideHeader-signed
- Signature header
- x-signature
Signature coverage
All payload fields except sign(legacy signature value).
Webhook payload fields
x-signatureSignature for verifying this notification. Contains one or more comma-separated
v1=<signature> values.profitTypeWhether this notification reports a profit share or a reversal.
Allowed values
share- The notification reports a profit share.
return- The notification reports a profit share reversal.
profitReferenceReference for the profit share or reversal. For operations initiated through the API, this is the reference supplied by the merchant. For automatic profit shares and reversals, Onerway generates it. Use
relatedTxnId and relatedMerchantTxnId to associate the result with the original payment.profitGatewayReferenceOnerway order number of the profit share or reversal.
stateOverall processing state of the order. Do not treat
completed as every detail having succeeded; check receivers[].result individually.Allowed values
processing- The profit share order is still being processed.
completed- The profit share order finished processing. Check each detail result separately.
currencySettlement currency of the profit share or reversal.
relatedTxnIdTransaction ID of the original payment. A reversal still references the original payment, not the profit share order.
relatedMerchantTxnIdMerchant order number of the original payment.
receivers{ profitDetailReference, profitDetailGatewayReference, ... }Per-recipient processing results.
signRetained for compatibility. Verify this notification using the
x-signature header. See Webhook signature verification.Constraints
- Rule
- Exclude
signitself from the canonical string when verifying this webhook.
{
"profitType": "share",
"profitReference": "example_profit_share_reference",
"profitGatewayReference": "replace_with_profit_gateway_reference",
"state": "completed",
"currency": "USD",
"relatedTxnId": "9007199254740993",
"relatedMerchantTxnId": "example_payment_order",
"receivers": "[{\"profitDetailReference\":\"example_profit_share_detail_reference\",\"profitDetailGatewayReference\":\"replace_with_profit_detail_gateway_reference\",\"type\":\"1\",\"amount\":\"80.00\",\"result\":\"success\",\"failReason\":null,\"createdAt\":\"2026-06-22 10:00:00\",\"finishedAt\":\"2026-06-22 10:00:08\"}]",
"sign": "replace_with_sha256_signature"
}Acknowledgement
Return HTTP 200 after the profit share webhook is received and accepted. No response body is required.
No response body.
Authorization, capture, and void webhook
Receive pre-authorization creation, capture, and void notifications and associate them through the same payment intent.
Saved payment method result webhook
Receive the final result notification for saved payment method (binding) transactions, covering standalone and subscription-with-binding flows.