Rester Coins
    Rester Coins
    • Status
      GET
    • Lists
      GET
    • Transactions
      GET
    • Control
      POST
    • Webhook

      Webhook

      Webhook
      POST
      Webhook URL
      When your server receives a request, verify the request sender. To make sure the request is from the RESTER COINS Platform, make your bot server verify the signature in the x-rester-signature request header.
      1.
      Compute the digest for the request body. Use the HMAC-SHA256 algorithm with the channel secret as the secret key.
      2.
      Check if the Base64-encoded digest matches the signature in the x-rester-signature request header

      Request

      Header Params

      Body Params application/jsonRequired

      Examples

      Responses

      🟢200Success
      application/json
      Body

      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'https://your-api-server.com' \
      --header 'X-Rester-Signature;' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "TransactionId": "5585dcbe713dba5b0465",
          "TransactionCode": "R20260101Q2HZ",
          "TransactionTime": "2026-01-01 00:00:00",
          "Location": "RESTER",
          "Status": "playing",
          "Amount": "20.00",
          "PlayTime": "10",
          "MassageChair": "699000",
          "Label": null,
          "DeviceId": "AAAAAAAAAAAAA",
          "PaymentMethod": "manual",
          "PaymentReference": "12345"
      }'
      Response Response Example
      {}
      Modified at 2026-01-02 16:54:54
      Previous
      Control
      Built with