In our API, resources can be identified by either an internal ID or a user-defined reference. We refer to these identifiers collectively as “keys”.
ID: Internally set UUID
123e4567-e89b-12d3-a456-426614174000
Reference (ref): User-defined, unique identifier
internal:revenue:fx
ledger:customer_a
txn:invoice_123
83c6be5d-ebb8-41fc-8d12-d1f8ec4e2a90
When a path parameter is described as a “key” in the documentation, you can use either an ID or a reference.
For IDs: id:$id
or simply $id
/ledgers/id:123e4567-e89b-12d3-a456-426614174000
/ledgers/123e4567-e89b-12d3-a456-426614174000
For references: ref:$ref
/ledgers/ref:ledger:customer_a
Note: If no prefix is given, the system defaults to interpreting the value as an ID.
ref:
prefix is required when using a reference in path parameters.id:
prefix is optional for IDs in path parameters.In our API, resources can be identified by either an internal ID or a user-defined reference. We refer to these identifiers collectively as “keys”.
ID: Internally set UUID
123e4567-e89b-12d3-a456-426614174000
Reference (ref): User-defined, unique identifier
internal:revenue:fx
ledger:customer_a
txn:invoice_123
83c6be5d-ebb8-41fc-8d12-d1f8ec4e2a90
When a path parameter is described as a “key” in the documentation, you can use either an ID or a reference.
For IDs: id:$id
or simply $id
/ledgers/id:123e4567-e89b-12d3-a456-426614174000
/ledgers/123e4567-e89b-12d3-a456-426614174000
For references: ref:$ref
/ledgers/ref:ledger:customer_a
Note: If no prefix is given, the system defaults to interpreting the value as an ID.
ref:
prefix is required when using a reference in path parameters.id:
prefix is optional for IDs in path parameters.