Parties of a Request
Payee Identity
The Payee Identity is the EVM address that uniquely identifies the payee. It can be but is not necessarily the address that will receive the payment. It is authorized to make certain updates to the request after it is created. It is one of the owners of the request data. The Payee Identity is defined by thepayee
field when creating a request.
Payer Identity
The Payer Identity is the EVM address that uniquely identifies the payer. It can be but is not necessarily the address that will send the payment. It is authorized to make certain updates to the request after it is created. It is one of the owners of the request data. The Payer Identity is defined by thepayer
field when creating a request.
Signer Identity
The Signer Identity is the EVM address that provides the signature to create a request. It must be either the Payee Identity or Payer Identity.Payment Recipient
The EVM address that receives the payment. It is defined by thepaymentNetwork.parameters.paymentAddress
field when creating a request.
Payment Sender
The EVM address that sends the payment. Anyone can pay a given request. The payment sender address is NOT stored in the request contents.Additional Stakeholder
An EVM address that has been granted view access to an encrypted request.Declarative Delegate
An EVM address that has been granted authorization to declare payments sent and payments received on behalf of either the Payee Identity or Payer Identity of a given request.Request Protocol
Action
An action is signed data added by a request’s stakeholder into the Request Protocol that creates or updates the state of a request. A request can be represented by a list of actions. For example, the creation of a request is an action.Balance
When using a payment network, the balance is the current amount paid for a request. The balance is determined by the payment detection method of the payment network used. A request with no payment network provided doesn’t have a balance.Confirmed/Pending action
Request relies on other blockchain technologies to ensure data immutability. Most blockchains don’t offer transaction instant finality. This means that when performing an action on the request, this action can’t directly be confirmed as effective. As long as the action hasn’t persisted and is not confirmed, the action is marked as “pending”. The “pending” state helps have a fast response and a good user experience. Until the request is Confirmed, it should not be relied upon.Signature Provider
A signature provider is an abstraction of identity management and action signatures. Depending on use cases, it allows you to give your user complete control or handle some parts for them.Decryption Provider
A decryption provider is an abstraction of the mechanism that handles the decryption of a request. Depending on use cases, it allows you to give your user complete control or handle some parts for them. It is not used for clear requests.Extension
An extension is a set of actions that extends the feature of a request. A request without extension is a fundamental request for payment with a payee, a currency, and a requested amount. The extension allows for more advanced features.Identity
The identity defines a stakeholder of a request that allows signing or encrypting the request actions. The identity is the public data that identifies the stakeholder.Request ID
The request ID is the number that uniquely identifies a request. This number is computed from the hash of the request creation action.Request Data (aka. Request Contents)
The request data is the current state of a request, the data of the request after having applied all the confirmed actions on it.Stakeholder
A request stakeholder is a party involved with the request. Stakeholders are generally the payer and the payee of the request or any other third-party allowed to perform actions on it. For encrypted requests, stakeholders are any party interested in reading the request content.Topic
A topic is a string that is used to index a request. This topic is used for request retrieval. Several requests can share the same topic. Every request has its request id and payee identity as topics (and the payer identity if it is defined). Any custom topic can be appended to a request.Payments
Payment Detection
Payment detection is a method defined by the payment network to determine the current balance of a request.Payment Network (aka Payment Extension)
A payment network is a predefined set of rules to agree on the balance of a request. The payment network is defined during the creation of the request. A payment network is generally related to one currency, but it’s not always the case (the Declarative payment network is currency agnostic).Payment Reference
In the Reference-based Payment Networks, Payments are linked to Requests via apaymentReference
which is derived from the requestId
and payment recipient address. For details see Payment Reference