Convert

Notifies when a Convert of a Creator Coin event happens.

Example Event payload for a non creator approved webhook.

{
"event":"CONVERT",
"coinKind":"RLY",
"data":
{
"transactionId":"5ec31129-f5e6-4c25-9188-9a0401183d3d",
"fromCoinKind":"RLY",
"toCoinKind":"STANZ",
"fromAmount":1042.509366,
"toAmount":168.388064,
"valueInUSCents":28663,
"createdDate":"2021-02-09T14:13:18.926Z",
"completedDate":null
}
}

Example Event payload for a creator approved webhook for the same event as above. Notice how the username is now shown along with the showUsername flag indicating the user chose to make their username NOT public. If the application is only going to be seen and used by the creator themselves, it is permissible to display the username in the app. If the application will be seen by the public, it must respect the showUsername flag and hide/display the username accordingly.

{
"event":"CONVERT",
"coinKind":"RLY",
"data":
{
"transactionId":"5ec31129-f5e6-4c25-9188-9a0401183d3d",
"fromCoinKind":"RLY",
"toCoinKind":"STANZ",
"fromAmount":1042.509366,
"toAmount":168.388064,
"valueInUSCents":28663,
"createdDate":"2021-02-09T14:13:18.926Z",
"completedDate":null,
"userId":"58b314f4-cc51-11ea-8bc5-72318caf4d1a",
"username":"thisisausername",
"showUsername":false
}
}