Documentation
¶
Index ¶
- Constants
- func BuildMetadata(orgID, connectionID, paymentID string) map[string]string
- func FlutterwaveHash(secretHash string) string
- func SignHubtel(body []byte, clientSecret string) string
- func SignPaystack(body []byte, secretKey string) string
- func SignPolar(body []byte, clientSecret string) string
Constants ¶
View Source
const ( MetadataOrgID = "org_id" MetadataConnectionID = "connection_id" MetadataPaymentID = "payment_id" )
Metadata keys expected by Reevit webhooks.
Variables ¶
This section is empty.
Functions ¶
func BuildMetadata ¶
BuildMetadata returns the canonical metadata map expected by Reevit webhooks.
func FlutterwaveHash ¶
FlutterwaveHash simply returns the verif-hash header value (no hashing required).
func SignHubtel ¶
SignHubtel returns the X-Hubtel-Signature header (HMAC SHA256 of the raw body).
func SignPaystack ¶
SignPaystack returns the X-Paystack-Signature header (HMAC SHA512 of the raw body).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.