Create Callback Subscription
Warning: This API has been deprecated. Please use Webhooks. Contact your sales representative if you require additional blockchain support.
POST /callback-subscriptions/
This creates a callback subscription for the specific eventKind
. eventKind
takes the following enumerated type values:
PaymentInitiated
: A payment request has been made via the InitiatePayment endpoint.PaymentExecuted
: A payment request has been successfully broadcasted to the target chain via the InitiatePayment endpoint.PaymentConfirmed
: The payment was mined as part of a block.PaymentReceived
: An incoming payment was received in your wallet.TransactionBroadcasted
: A transaction has been successfully broadcasted to the target chain via the BroadcastTransaction endpoint.WalletCreated
: An AssetAccount has been successfully created.PolicyActivated
: A new Policy has been successfully activated.
User action signature required. See User Action Signing for more information.
Request headers required. See Request Headers for more information.
Authentication required. See Authentication Headers for more information.
Required Permissions
Name | Conditions |
---|---|
| Always Required |
Request body
Request body fields | Required/Optional | Description | Type |
---|---|---|---|
| Required | The type of subscription to listen for from the list above. | Enumerated Type |
| Required | The URL the callback will POST data to | String |
Request example
Response
Response example
Callback Example
PaymentInitiated
example callback
PaymentInitiated
example callbackThe following is an example body that will be posted to the endpoint specified in the callback url
:
Last updated