alipay-webhooks
Alipay Webhooks
Alipay's global / cross-border products — Antom (Cashier Payment / AMS) and
Alipay+ — deliver asynchronous webhook notifications (notifyPayment,
notifyRefund, notifyCapture, notifyAuthorization, notifyDispute) signed
with an asymmetric RSA256 (SHA256withRSA) scheme carried in a Signature
header. This skill targets that header-based scheme.
Legacy note: The older Alipay openapi / MAPI integration (
openapi.alipay.com,global.alipay.com) is a different, unrelated scheme — form-encoded params withsign+sign_type=RSA2, verified by strippingsign/sign_type, sorting the remaining params A–Z, joining with&, and replying with the plain textsuccess. If your integration postsapplication/x-www-form-urlencodedbodies with asignfield, you are on that older vintage — this skill does not cover it. Everything below is the modern Antom/Alipay+ header RSA256 scheme.