Skip to content

Entities

FinancialInstrumentId module-attribute

FinancialInstrumentId = NewType(
    "FinancialInstrumentId", UUID
)

Unique identifier for a financial instrument.

Financial instruments are opaque from outside the Payment Gateway. This guarantees that the internal representation of a financial instrument is not exposed to the outside world for security and privacy reasons. All operations on a financial instrument should be done using its unique identifier.

LegalEntityId module-attribute

LegalEntityId = NewType('LegalEntityId', UUID)

Unique identifier for a legal entity.

Legal entities are opaque from outside the Payment Gateway. This guarantees that the internal representation of a legal entity is not exposed to the outside world for security and privacy reasons. All operations on a legal entity should be done using its unique identifier.