T402 API Reference - v2.8.0
Website
Documentation
GitHub
Preparing search index...
http/paywall/src
PaymentRequirements
Interface PaymentRequirements
Payment requirements structure (supports both v1 and v2)
interface
PaymentRequirements
{
scheme
:
string
;
network
:
string
;
asset
:
string
;
payTo
:
string
;
maxTimeoutSeconds
:
number
;
extra
?:
Record
<
string
,
unknown
>
;
maxAmountRequired
?:
string
;
description
?:
string
;
resource
?:
string
;
mimeType
?:
string
;
amount
?:
string
;
}
Index
Properties
scheme
network
asset
pay
To
max
Timeout
Seconds
extra?
max
Amount
Required?
description?
resource?
mime
Type?
amount?
Properties
scheme
scheme
:
string
network
network
:
string
asset
asset
:
string
pay
To
payTo
:
string
max
Timeout
Seconds
maxTimeoutSeconds
:
number
Optional
extra
extra
?:
Record
<
string
,
unknown
>
Optional
max
Amount
Required
maxAmountRequired
?:
string
Optional
description
description
?:
string
Optional
resource
resource
?:
string
Optional
mime
Type
mimeType
?:
string
Optional
amount
amount
?:
string
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
scheme
network
asset
pay
To
max
Timeout
Seconds
extra
max
Amount
Required
description
resource
mime
Type
amount
Website
Documentation
GitHub
T402 API Reference - v2.8.0
Loading...
Payment requirements structure (supports both v1 and v2)