/api/network/v1/admin/allocations/{allocationId}Returns an OES allocation or deallocation record if it exists and the user has access to it.
Error scenarios:
400: Invalid Request Error
Occurs when the request parameters are invalid or incomplete
Examples: Invalid UUID format for allocationId, missing required trustOrg parameter
401: Authentication Error
Occurs when the request is not authorized
Examples: Missing or invalid auth token, expired credentials
403: Permission Denied Error
Occurs when the authenticated user doesn't have required permissions
Examples: User is not an admin, user belongs to different trust organization
404: Not Found Error
Occurs when the requested allocation does not exist
Examples: Allocation with specified ID doesn't exist, allocation exists but under different trust org
500: Internal Server Error
Occurs when there's an unexpected error processing the request
Examples: Database connection failure, currency mapping error, data transformation error
allocationIdstringRequiredtrustOrgstringRequiredBitGo Trust BitGo New York BitGo Germany BitGo Switzerland BitGo Europe ApS Frankfurt DE Trust BitGo Singapore BitGo Korea BitGo Custody MENA FZE BitGo India BitGo Sister Trust 1 allocation object required id string required amountOne ofrequired connectionId string required clientExternalId string required >= 1 characterspartnerExternalId string >= 1 charactersinitiatedBy string required >= 1 charactersnotes string >= 1 characterscreatedAt string <date-time>required updatedAt string <date-time>required retriable boolean required evaluationId string >= 1 characterspendingApprovalId string >= 1 characterspolicyResult string approved rejectedreason >= 1 charactersstatus string required cleared released reservedtype string required allocation deallocationerror string required error string required error string required error string required