Authorization

The Authorization page of the Inqud Crypto Recurring allows you to view user-approved spending agreements for your plans. An authorization represents the user's agreement to be charged based on the plan's conditions and involves an actual ERC-20 approval transaction made by the user using their Web3 wallet.

What is an Authorization?

An authorization is a user-approved spending agreement for a specific plan. It signifies the user's consent to be charged according to the plan's conditions. This process includes an ERC-20 token approval transaction performed by the user via their Web3 wallet, ensuring secure and verifiable permissions for recurring payments.

An authorization is created when a user subscribes to a plan.

Authorization parameters

Parameter nameDescriptionValue (example)

id

ID of authorization.

"AGR-55502ab7-d322-465e-b856-51f0ca077dd2"

wallet

Wallet used by user to subscribe.

0x364371e1fbe635922b0f37d569f8d0e12b122822

cryptoCurrency

Blockchain and token approved by user for spending.

"ETHEREUM_USDT"

status

Authorization status.

GRANTED, REVOKED_BY_MERCHANT

subscriptionId

ID of subscription associated with authorization.

"SUB-df39a8ab-0bbc-464c-acae-c0ce265a4713"

initApprovalTx

Transaction hash were user approved tokens spending.

"0xbd01120e922a778cc2047cf089b4772b0323587eaea4996b6572dedb67f6e52a"

planId

ID of plan associated with authorization.

"PLAN-d5208959-5ced-41c7-9d9e-31923b6a22a6"

Authorization balance

By clicking on an authorization record, a user can see real-time balance details of the given authorization. This includes:

Parameter nameDescriptionValue (example)

balance

The current balance of the user's account associated with the authorization.

1000

allowance

The total amount approved for spending under this authorization.

500

transferable

The remaining amount that can be transferred based on the authorization

500

Authorization statuses

  • GRANTED: The authorization is active, allowing payments to be processed according to the specified plan conditions.

  • REVOKED_BY_MERCHANT: The authorization has been canceled by the merchant, and no further payments will be processed.

Authorization status transitions

Last updated