Common API Resources
Here are the common resources used by the Revolut Business API.
ModelBaseAmount
Bases: BaseModel
Base model for amount
Source code in pyrevolut/api/common/models/amount.py
7 8 9 10 11 12 13 14 |
|
BaseEndpointSync
Base class for all endpoints.
Source code in pyrevolut/api/common/endpoint.py
7 8 9 10 11 12 13 14 15 16 17 18 |
|
__init__(client)
Create a new Base endpoint handler
Parameters:
Name | Type | Description | Default |
---|---|---|---|
client |
Client
|
The client to use for the endpoint |
required |
Source code in pyrevolut/api/common/endpoint.py
10 11 12 13 14 15 16 17 18 |
|
BaseEndpointAsync
Base class for all async endpoints.
Source code in pyrevolut/api/common/endpoint.py
21 22 23 24 25 26 27 28 29 30 31 32 |
|
__init__(client)
Create a new Base endpoint handler
Parameters:
Name | Type | Description | Default |
---|---|---|---|
client |
AsyncClient
|
The async client to use for the endpoint |
required |
Source code in pyrevolut/api/common/endpoint.py
24 25 26 27 28 29 30 31 32 |
|