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" } }
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 the event occurred.
The type of event.
The state of the instrument.
The state of the instrument indicating what it can and cannot do as follows:
- ACTIVE: The instrument is in an active state and can be used in transactions.
- BLOCKED: The instrument is temporarily blocked and cannot be used. Any funds on the instrument are also frozen. The
blockedReasonprovides more information as to why it was blocked. - DESTROYED: The instrument has been permanently destroyed. The
destroyReasonprovides more information as to why it was destroyed. - NOT_ENABLED: The instrument is not enabled for use, since the linked user has not completed all necessary verification steps.
The reason why the instrument has been blocked:
- USER: The root, or an authorised user, of the identity owning the instrument has temporarily blocked the instrument.
- SYSTEM: The platform or an administrator of the platform has temporarily blocked the instrument.
- LOST: The instrument has been blocked because it was marked as lost.
The reason why the instrument has been destroyed:
- SYSTEM: The platform or an administrator of the platform has destroyed the instrument.
- USER: The root, or an authorised user, of the identity owning the instrument has destroyed the instrument.
- LOST: The instrument was automatically destroyed as it was marked as lost.
- STOLEN: The instrument was automatically destroyed as it was marked as stolen.
- EXPIRED: The instrument was automatically destroyed as it expired.
- COMPROMISED: The instrument was automatically destroyed as it was marked as compromised.
Indicates how the card will be handled once it is close to expiring.
- RENEW: The card will be automatically renewed, keeping the same card number but with a new expiry date and CVV.
- NO_RENEW: Once the expiry date is reached, the card is destroyed.
- Mock serverhttps://api.weavr.io/_mock/products/webhooks/openapi/managed_cards/expiries/watch
- https://api.weavr.io/""/managed_cards/expiries/watch
{ "id": { "id": "string", "type": "managed_cards" }, "eventType": "CARD_ABOUT_TO_EXPIRE", "state": { "state": "ACTIVE", "blockedReason": "USER", "destroyedReason": "SYSTEM" }, "cardType": "VIRTUAL", "expiryMmyy": "string", "renewalType": "RENEW", "renewalTimestamp": "string" }