openapi: 3.2.0 info: description: Welcome to the Rocket Matter API. version: '2.0' title: Rocket Matter Trust API termsOfService: www.rocketmatter.com contact: email: developer@rocketmatter.com license: name: Rocket Matter url: www.rocketmatter.com x-logo: url: https://support.rocketmatter.com/wp-content/themes/rm-support/img/rm-logo.png servers: - url: https:////API_V2 tags: - name: Trust description: Client trust accounts to hold retainer funds. paths: /Trust.svc/json/TrustDetailsForMatter: post: tags: - Trust description: View trust account details for a specific client and matter. operationId: TrustDetailsForMatter responses: '200': description: Successfully processed request content: application/json: schema: $ref: '#/components/schemas/TrustDetailsResponse' '400': description: Internal server error '401': description: Unauthorized requestBody: content: application/json: schema: $ref: '#/components/schemas/TrustDetailsRequest' required: true summary: Trust details for matter x-summary-source: derived components: schemas: TrustDetailsRequest: type: object properties: MatterId: type: integer format: int32 ClientId: type: integer format: int32 TrustDetailsResponse: type: object properties: TrustBalance: type: number format: double PendingWithdrawal: type: number format: double CurrencySymbol: type: string Success: type: boolean Message: type: string ErrorMessage: type: string ErrorNumber: type: integer format: int32 FailedValidations: type: array items: $ref: '#/components/schemas/ValidationResult' Errors: type: array items: type: string ValidationResult: type: object properties: MinValue: type: boolean MaxValue: type: boolean MinLength: type: boolean MaxLength: type: boolean Required: type: boolean PropertyDisplayName: type: string Precision: type: boolean ValueEntered: type: object Name: type: string ObjectName: type: string ExternalID: type: string MinValueMessage: type: string MaxValueMessage: type: string MinLengthMessage: type: string MaxLengthMessage: type: string RequiredMessage: type: string RequiredPrecisionMessage: type: string BaseFailureMessage: type: string FailedValidationMessages: type: array items: type: string FailedCharacterValidations: type: array items: $ref: '#/components/schemas/CharacterValidationRule' IsValid: type: boolean CharacterValidationRule: type: object properties: ShouldMatch: type: boolean Message: type: string Regex: type: string