For Verification, create a base64 hash using HmacSHA256 using Published-Timestamp header as message and your API key as secret. The result should match the Signature header.
Weavr Webhook (v2)
A call reference generated by the caller and unique to the caller to provide correlation between the caller and system with a maximum length of 255
The timestamp, expressed in Epoch timestamp using millisecond precision, when this event was published.
The signature to verify the authenticity of this request. This is the base64 hash (HmacSHA256) of the call-ref + payload + published-timestamp using your API key.
The id of the managed card on which a settlement has been performed.
The type of adjustment that was processed.
The amount in the currency of the card.
The timestamp of the transaction, using epoch timestamp with millisecond precision.
The updated card available balance after this adjustment was processed.
- Mock serverhttps://api.weavr.io/_mock/products/webhooks/openapi/managed_cards/adjustments/watch
- https://api.weavr.io/""/managed_cards/adjustments/watch
{ "id": { "id": "string", "type": "managed_cards" }, "transactionId": "string", "adjustmentType": "DEFAULT_ADJUSTMENT", "adjustmentAmount": { "currency": "str", "amount": "string" }, "transactionTimestamp": "string", "availableBalance": { "currency": "str", "amount": "string" }, "owner": { "type": "string", "id": "string" }, "details": { "prepaidModeDetails": { … }, "debitModeDetails": { … } } }
A call reference generated by the caller and unique to the caller to provide correlation between the caller and system with a maximum length of 255
The timestamp, expressed in Epoch timestamp using millisecond precision, when this event was published.
The signature to verify the authenticity of this request. This is the base64 hash (HmacSHA256) of the call-ref + payload + published-timestamp using your API key.
The id of the managed card on which a settlement has been performed.
The type of settlement that was processed. Refer to our documentation for further information related to this field.
The amount in the currency of the card.
The timestamp of the transaction, using epoch timestamp with millisecond precision.
The amount in the currency of the merchant.
Merchant related information
The name of the merchant where the authorisation has been made.
The updated card available balance after this authorisation was processed.
The list of related authorisation ids which this Settlement is related to.
The list of related settlement ids which this Settlement is related to.
The settlement fee, in the currency of the card.
The state of the settlement.
The forex fee, if any, that has been included in the transactionAmount.
Contains information about the digital wallet, if it has been used.
The object representing the localised transaction's details
The related authorisation id which this settlement is clearing.
- Mock serverhttps://api.weavr.io/_mock/products/webhooks/openapi/managed_cards/settlements/watch
- https://api.weavr.io/""/managed_cards/settlements/watch
{ "id": { "id": "string", "type": "managed_cards" }, "transactionId": "string", "settlementType": "SALE_PURCHASE", "transactionAmount": { "currency": "str", "amount": "string" }, "transactionTimestamp": "string", "sourceAmount": { "currency": "str", "amount": "string" }, "merchantData": { "merchantName": "string", "merchantCategoryCode": "string", "merchantId": "string", "merchantDescription": "string", "merchantStreet": "string", "merchantCity": "string", "merchantState": "string", "merchantPostalCode": "string", "merchantCountry": "string", "merchantTelephone": "string", "merchantURL": "string", "merchantNameOther": "string", "merchantNetworkId": "string", "merchantContact": "string" }, "merchantName": "string", "merchantCategoryCode": "string", "merchantId": "string", "details": { "prepaidModeDetails": { … }, "debitModeDetails": { … } }, "availableBalance": { "currency": "str", "amount": "string" }, "relatedAuthorisationId": "string", "relatedSettlementId": "string", "relatedAuthorisationIds": [ 0 ], "relatedSettlementIds": [ 0 ], "owner": { "type": "string", "id": "string" }, "feeAmount": { "currency": "str", "amount": "string" }, "authCode": "string", "state": "PENDING", "forexFee": { "currency": "str", "amount": "string" }, "merchantCountryCode": "string", "digitalWalletDetails": { "digitalWalletType": "GOOGLE_PAY" }, "userCurrencyTransactionDetails": { "userTransactionAmount": { … }, "userExchangeRate": "string" } }