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 reason the scheduled transaction was cancelled.
The Reason the transaction was exempted from SCA verification
The description details that are included in the transaction as reference.
The object representing a monetary amount in a particular currency.
The epoch timestamp at which the transaction was executed, transitioning to a final state such as COMPLETED, REJECTED, or FAILED.
The epoch timestamp at which the transaction is scheduled to be executed.
The state of the send transaction, as follows:
- INITIALISED: The initial state of a send transaction when SCA is not required.
- PENDING_CHALLENGE: The send transaction requires verification before it can be initialised. Use the /sends/{id}/challenges/otp/{channel} API endpoint to start the verification process.
- PENDING: The transaction has exceeded the destination limit and is pending treasury approval.
- APPROVED: The send transaction was approved.
- COMPLETED: The send transaction has been completed.
- REJECTED: The send transaction was rejected.
- FAILED: There was an issue with the send transaction, and the transaction has failed.
- SCHEDULED: The send transaction will execute at the scheduled time.
- CANCELLED: The scheduled send transaction has been cancelled.
The object representing a monetary amount in a particular currency.
- Mock serverhttps://api.weavr.io/_mock/products/webhooks/openapi/send/watch
- https://api.weavr.io/""/send/watch
{ "eventType": "PENDING", "send": { "beneficiaryId": "string", "cancellationReason": "string", "challengeExemptionReason": "NO_EXEMPTION", "conflict": "NO_ERROR", "creationTimestamp": "string", "description": "string", "destination": { … }, "destinationAmount": { … }, "destinationFee": { … }, "executionTimestamp": "string", "id": { … }, "profileId": "string", "scheduledTimestamp": "string", "source": { … }, "sourceFee": { … }, "state": "UNDEFINED", "tag": "string", "transactionAmount": { … } }, "publishedTimestamp": "string" }