Fixed Recurring

The available parameters are:

  • chain (string) - chain used for the payment

  • planId (string) - if od the plan

  • callbackSuccess (string) - redirect url after success (optional)

  • callbackError (string) - redirect url after failure (optional)

  • extra (string) - json object containing extra parameters that will be sent to webhook (optional)

The following data will be appended to the callbackSuccess url as query parameters:

  • user (string) - address of the user who completed the payment

  • transactionHash (string) - hash of the transaction

Example button

<form action="" method="POST">
    <input type="hidden" name="type" value="fixed_recurring">
    <input type="hidden" name="chain" value="bsc">
    <input type="hidden" name="planId" value="0x57b2059e526841b3dfd964144513359c9fcfd6d91040b6c47f589c1e032b6bf7">
    <input type="hidden" name="extra[banner]" value="BR69">
    <input type="hidden" name="extra[traffic]" value="facebook">
    <input type="hidden" name="callbackSuccess" value="">
    <input type="hidden" name="callbackError" value="">
    <input type="image" src="" border="0" name="submit" alt="8PAY">

Last updated