payments-py

module nvm_backend


class BackendApiOptions

Represents the backend API options.

Args:

method __init__

__init__(
    environment: Environment,
    api_key: Optional[str] = None,
    headers: Optional[Dict[str, str]] = None
)

class NVMBackendApi

method __init__

__init__(opts: BackendApiOptions)

method connect_handler

connect_handler(data)

method connect_socket

connect_socket()

method delete

delete(url: str, data: Any, headers: Optional[Dict[str, str]] = None)

method disconnect

disconnect()

method disconnect_socket

disconnect_socket()

method get

get(url: str, headers: Optional[Dict[str, str]] = None)

method get_service_token

get_service_token(service_did: str)  ServiceTokenResultDto

Gets the service token.

Args:

Returns:

Raises:

Example: response = your_instance.get_service_token(service_did=”did:nv:xyz789”) print(response)


method join_room

join_room(join_account_room: bool, room_ids: Optional[str, List[str]] = None)

method parse_headers

parse_headers(additional_headers: dict[str, str])  dict[str, str]

method parse_url_to_backend

parse_url_to_backend(uri: str)  str

method parse_url_to_proxy

parse_url_to_proxy(uri: str)  str

method post

post(url: str, data: Any, headers: Optional[Dict[str, str]] = None)

method put

put(url: str, data: Any, headers: Optional[Dict[str, str]] = None)

method set_subscriber

set_subscriber(
    callback,
    join_account_room,
    join_agent_rooms,
    subscribe_event_types,
    get_pending_events_on_subscribe
)

This file was automatically generated via lazydocs.