Webhook

Webhook notification for LIKE pay agent (`via`)

Setup:

Please contact us for setting up the webhook for your agent account. You must set the parameter via when using LIKE pay to be able to receive notification

Specification:

Transaction Information (tx):

Transaction Metadata(metadata):

Example event:

{
  "tx": {
    "from": "cosmos1wfu97hwfv5ukc0xjyutajq9e6w5xkcdprlmyhj",
    "ts": 1611659587189,
    "to": "cosmos1rcgfvhgvc6r066w9gzvkt74qx5uk9zj8yr6yf3",
    "amount": {
      "amount": "1000000000",
      "denom": "nanolike"
    },
    "completeTs": 1611659583719,
    "txHash": "30A19D04DEFFF62BC3BC268EE3E391C691231EBA87ADC032A2D99D56AC401959",
    "toId": "ckxpress",
    "fromId": "williamchong-du",
    "remarks": "LIKE pay via developer",
    "status": "success",
    "type": "cosmosTransfer"
  },
  "metadata": {
    "likePay": {
      "agentId": "developer",
      "amounts": [
        "1"
      ],
      "remarks": "LIKE pay via developer",
      "agentFee": "0",
      "toIds": [
        "ckxpress"
      ]
    }
  }
}

Last updated