{"openapi":"3.0.1","info":{"title":"Wires","version":"v2"},"servers":[{"url":"https://cubi-sandbox-api.customersbank.com/Wires/v2"}],"paths":{"/AccountAccess/{accountId}":{"get":{"tags":["AccountAccess"],"summary":"/AccountAccess/{accountId} - GET","description":"Returns the api wires settings for a given account","operationId":"get-accountaccess-accountid","parameters":[{"name":"accountId","in":"path","description":"The id of the account","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.AccountAccessDto"},"examples":{"default":{"value":null}}},"application/json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.AccountAccessDto"},"example":{"accountId":"string","isWiresEnabled":true}},"text/json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.AccountAccessDto"},"example":{"accountId":"string","isWiresEnabled":true}}}},"400":{"description":"BadRequest","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"string"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.2","title":"Unauthorized","status":401,"traceId":"string"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.4","title":"Forbidden","status":403,"traceId":"string"}}}},"404":{"description":"NotFound","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.5","title":"Not Found","status":404,"traceId":"string"}}}},"422":{"description":"UnprocessableEntity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"traceId":"string"}}}},"500":{"description":"InternalServerError","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.6.1","title":"An error occurred while processing your request.","status":500,"traceId":"string"}}}}}}},"/AccountAccess":{"get":{"tags":["AccountAccess"],"summary":"/AccountAccess - GET","description":"Gets all api wire settings for all accounts","operationId":"get-accountaccess","responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.AccountAccessDto"}},"examples":{"default":{"value":null}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.AccountAccessDto"}},"example":[{"accountId":"string","isWiresEnabled":true}]},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.AccountAccessDto"}},"example":[{"accountId":"string","isWiresEnabled":true}]}}},"400":{"description":"BadRequest","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"string"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.2","title":"Unauthorized","status":401,"traceId":"string"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.4","title":"Forbidden","status":403,"traceId":"string"}}}},"404":{"description":"NotFound","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.5","title":"Not Found","status":404,"traceId":"string"}}}},"422":{"description":"UnprocessableEntity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"traceId":"string"}}}},"500":{"description":"InternalServerError","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.6.1","title":"An error occurred while processing your request.","status":500,"traceId":"string"}}}}}}},"/ControlType":{"get":{"tags":["AccountControlType"],"summary":"/ControlType - GET","description":"Gets the specific control type for all accounts","operationId":"get-controltype","responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Cubi.Common.Abstractions.Paginated_Cubi.Wires.WebApi.Dto.AccountControlTypeDto"},"examples":{"default":{"value":null}}},"application/json":{"schema":{"$ref":"#/components/schemas/Cubi.Common.Abstractions.Paginated_Cubi.Wires.WebApi.Dto.AccountControlTypeDto"},"example":{"pageSize":0,"pageOffset":0,"totalPages":0,"totalItemCount":0,"items":[{"id":"string","controlType":"Single","accountNumber":"string"}]}},"text/json":{"schema":{"$ref":"#/components/schemas/Cubi.Common.Abstractions.Paginated_Cubi.Wires.WebApi.Dto.AccountControlTypeDto"},"example":{"pageSize":0,"pageOffset":0,"totalPages":0,"totalItemCount":0,"items":[{"id":"string","controlType":"Single","accountNumber":"string"}]}}}},"400":{"description":"BadRequest","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"string"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.2","title":"Unauthorized","status":401,"traceId":"string"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.4","title":"Forbidden","status":403,"traceId":"string"}}}},"404":{"description":"NotFound","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.5","title":"Not Found","status":404,"traceId":"string"}}}},"422":{"description":"UnprocessableEntity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"traceId":"string"}}}},"500":{"description":"InternalServerError","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.6.1","title":"An error occurred while processing your request.","status":500,"traceId":"string"}}}}}}},"/ControlType/{id}":{"get":{"tags":["AccountControlType"],"summary":"/ControlType/{id} - GET","description":"Gets the control type for a given account","operationId":"get-controltype-id","parameters":[{"name":"id","in":"path","description":"The ID of the account","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.AccountControlTypeDto"},"examples":{"default":{"value":null}}},"application/json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.AccountControlTypeDto"},"example":{"id":"string","controlType":"Single","accountNumber":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.AccountControlTypeDto"},"example":{"id":"string","controlType":"Single","accountNumber":"string"}}}},"400":{"description":"BadRequest","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"string"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.2","title":"Unauthorized","status":401,"traceId":"string"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.4","title":"Forbidden","status":403,"traceId":"string"}}}},"404":{"description":"NotFound","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.5","title":"Not Found","status":404,"traceId":"string"}}}},"422":{"description":"UnprocessableEntity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"traceId":"string"}}}},"500":{"description":"InternalServerError","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.6.1","title":"An error occurred while processing your request.","status":500,"traceId":"string"}}}}}},"put":{"tags":["AccountControlType"],"summary":"/ControlType/{id} - PUT","description":"Saves the control type for a given account","operationId":"put-controltype-id","parameters":[{"name":"id","in":"path","description":"The ID of the account to update","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"description":"The updated control type to save","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.UpdateAccountControlTypeDto"},"example":{"controlType":"Single"}},"text/json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.UpdateAccountControlTypeDto"},"example":{"controlType":"Single"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.UpdateAccountControlTypeDto"},"example":{"controlType":"Single"}}}},"responses":{"202":{"description":"Accepted","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Cubi.Common.WebApi.Mediatr.Validation.IdentifierContainer_System.Guid"},"examples":{"default":{"value":null}}},"application/json":{"schema":{"$ref":"#/components/schemas/Cubi.Common.WebApi.Mediatr.Validation.IdentifierContainer_System.Guid"},"example":{"id":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/Cubi.Common.WebApi.Mediatr.Validation.IdentifierContainer_System.Guid"},"example":{"id":"string"}}}},"400":{"description":"BadRequest","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"string"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.2","title":"Unauthorized","status":401,"traceId":"string"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.4","title":"Forbidden","status":403,"traceId":"string"}}}},"404":{"description":"NotFound","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.5","title":"Not Found","status":404,"traceId":"string"}}}},"422":{"description":"UnprocessableEntity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"traceId":"string"}}}},"500":{"description":"InternalServerError","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.6.1","title":"An error occurred while processing your request.","status":500,"traceId":"string"}}}}}}},"/AccountEntitlements":{"get":{"tags":["AccountEntitlements"],"summary":"/AccountEntitlements - GET","description":"Gets the specific entitlement for a given account","operationId":"get-accountentitlements","responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.AccountEntitlements.AccountEntitlementDto"}},"examples":{"default":{"value":null}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.AccountEntitlements.AccountEntitlementDto"}},"example":[{"accountId":"string","entitlement":"None"}]},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.AccountEntitlements.AccountEntitlementDto"}},"example":[{"accountId":"string","entitlement":"None"}]}}},"400":{"description":"BadRequest","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"string"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.2","title":"Unauthorized","status":401,"traceId":"string"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.4","title":"Forbidden","status":403,"traceId":"string"}}}},"404":{"description":"NotFound","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.5","title":"Not Found","status":404,"traceId":"string"}}}},"422":{"description":"UnprocessableEntity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"traceId":"string"}}}},"500":{"description":"InternalServerError","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.6.1","title":"An error occurred while processing your request.","status":500,"traceId":"string"}}}}}}},"/AccountEntitlements/{userId}":{"get":{"tags":["AccountEntitlements"],"summary":"/AccountEntitlements/{userId} - GET","description":"Gets account entitlements for a specific user","operationId":"get-accountentitlements-userid","parameters":[{"name":"userId","in":"path","description":"The ID (uuid) of the user for which to retrieve account entitlements","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.AccountEntitlements.AccountEntitlementDto"}},"examples":{"default":{"value":null}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.AccountEntitlements.AccountEntitlementDto"}},"example":[{"accountId":"string","entitlement":"None"}]},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.AccountEntitlements.AccountEntitlementDto"}},"example":[{"accountId":"string","entitlement":"None"}]}}},"400":{"description":"BadRequest","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"string"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.2","title":"Unauthorized","status":401,"traceId":"string"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.4","title":"Forbidden","status":403,"traceId":"string"}}}},"404":{"description":"NotFound","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.5","title":"Not Found","status":404,"traceId":"string"}}}},"422":{"description":"UnprocessableEntity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"traceId":"string"}}}},"500":{"description":"InternalServerError","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.6.1","title":"An error occurred while processing your request.","status":500,"traceId":"string"}}}}}},"put":{"tags":["AccountEntitlements"],"summary":"/AccountEntitlements/{userId} - PUT","description":"Updates account entitlements for a given user","operationId":"put-accountentitlements-userid","parameters":[{"name":"userId","in":"path","description":"The ID (uuid) of the user for which to set entitlements","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"description":"The account and specific entitlement access to grant","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.AccountEntitlements.AccountEntitlementsDto"},"example":{"entitlements":[{"accountId":"string","entitlement":"None"}]}},"text/json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.AccountEntitlements.AccountEntitlementsDto"},"example":{"entitlements":[{"accountId":"string","entitlement":"None"}]}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.AccountEntitlements.AccountEntitlementsDto"},"example":{"entitlements":[{"accountId":"string","entitlement":"None"}]}}}},"responses":{"202":{"description":"Accepted"},"400":{"description":"BadRequest","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"string"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.2","title":"Unauthorized","status":401,"traceId":"string"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.4","title":"Forbidden","status":403,"traceId":"string"}}}},"422":{"description":"UnprocessableEntity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"traceId":"string"}}}},"500":{"description":"InternalServerError","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.6.1","title":"An error occurred while processing your request.","status":500,"traceId":"string"}}}}}}},"/incoming/{id}":{"get":{"tags":["IncomingWiresV"],"summary":"/incoming/{id} - GET","description":"Retrieves an incoming wire payment by ID","operationId":"get-incoming-id","parameters":[{"name":"id","in":"path","description":"The ID (uuid) of the wire payment to retrieve","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.IncomingWirePaymentDto"},"examples":{"default":{"value":null}}},"application/json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.IncomingWirePaymentDto"},"example":{"id":"string","amount":0,"isReturn":true,"originalWireId":"string","debtor":{"accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"debtorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditorAgentAccount":{"accountNumber":"string"},"debtorAgentAccount":{"accountNumber":"string"},"instructingAgent":{"memberId":"string","name":"string"},"instructedAgent":{"memberId":"string","name":"string"},"intermediaryAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"previousInstructingAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditor":{"accountId":"string","accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"remittanceInformation":"string","endToEndIdentification":"string","imad":"string","omad":"string","confirmationNumber":"string","completedAt":"string","processDate":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.IncomingWirePaymentDto"},"example":{"id":"string","amount":0,"isReturn":true,"originalWireId":"string","debtor":{"accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"debtorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditorAgentAccount":{"accountNumber":"string"},"debtorAgentAccount":{"accountNumber":"string"},"instructingAgent":{"memberId":"string","name":"string"},"instructedAgent":{"memberId":"string","name":"string"},"intermediaryAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"previousInstructingAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditor":{"accountId":"string","accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"remittanceInformation":"string","endToEndIdentification":"string","imad":"string","omad":"string","confirmationNumber":"string","completedAt":"string","processDate":"string"}}}},"400":{"description":"BadRequest","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"string"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.2","title":"Unauthorized","status":401,"traceId":"string"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.4","title":"Forbidden","status":403,"traceId":"string"}}}},"404":{"description":"NotFound","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.5","title":"Not Found","status":404,"traceId":"string"}}}},"422":{"description":"UnprocessableEntity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"traceId":"string"}}}},"500":{"description":"InternalServerError","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.6.1","title":"An error occurred while processing your request.","status":500,"traceId":"string"}}}}}}},"/incoming":{"get":{"tags":["IncomingWiresV"],"summary":"/incoming - GET","description":"Searches incoming wire payments","operationId":"get-incoming","parameters":[{"name":"fromDate","in":"query","description":"The start date from which to search","schema":{"type":"string","format":"date-time"}},{"name":"toDate","in":"query","description":"The end date for which to search","schema":{"type":"string","format":"date-time"}},{"name":"accountId","in":"query","description":"The account ID for which to search","schema":{"type":"string","format":"uuid"}},{"name":"searchText","in":"query","description":"The omad, imad, beneficiary name, originator name, amount or status, for which to search","schema":{"type":"string"}},{"name":"paginateResults","in":"query","schema":{"type":"boolean"}},{"name":"page","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"perPage","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"sortOn","in":"query","schema":{"type":"string"}},{"name":"sortAscending","in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Cubi.Common.Abstractions.Paginated_Cubi.Wires.WebApi.Dto.v2.IncomingWirePaymentDto"},"examples":{"default":{"value":null}}},"application/json":{"schema":{"$ref":"#/components/schemas/Cubi.Common.Abstractions.Paginated_Cubi.Wires.WebApi.Dto.v2.IncomingWirePaymentDto"},"example":{"pageSize":0,"pageOffset":0,"totalPages":0,"totalItemCount":0,"items":[{"id":"string","amount":0,"isReturn":true,"originalWireId":"string","debtor":{"accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"debtorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditorAgentAccount":{"accountNumber":"string"},"debtorAgentAccount":{"accountNumber":"string"},"instructingAgent":{"memberId":"string","name":"string"},"instructedAgent":{"memberId":"string","name":"string"},"intermediaryAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"previousInstructingAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditor":{"accountId":"string","accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"remittanceInformation":"string","endToEndIdentification":"string","imad":"string","omad":"string","confirmationNumber":"string","completedAt":"string","processDate":"string"}]}},"text/json":{"schema":{"$ref":"#/components/schemas/Cubi.Common.Abstractions.Paginated_Cubi.Wires.WebApi.Dto.v2.IncomingWirePaymentDto"},"example":{"pageSize":0,"pageOffset":0,"totalPages":0,"totalItemCount":0,"items":[{"id":"string","amount":0,"isReturn":true,"originalWireId":"string","debtor":{"accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"debtorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditorAgentAccount":{"accountNumber":"string"},"debtorAgentAccount":{"accountNumber":"string"},"instructingAgent":{"memberId":"string","name":"string"},"instructedAgent":{"memberId":"string","name":"string"},"intermediaryAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"previousInstructingAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditor":{"accountId":"string","accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"remittanceInformation":"string","endToEndIdentification":"string","imad":"string","omad":"string","confirmationNumber":"string","completedAt":"string","processDate":"string"}]}}}},"400":{"description":"BadRequest","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"string"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.2","title":"Unauthorized","status":401,"traceId":"string"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.4","title":"Forbidden","status":403,"traceId":"string"}}}},"422":{"description":"UnprocessableEntity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"traceId":"string"}}}},"500":{"description":"InternalServerError","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.6.1","title":"An error occurred while processing your request.","status":500,"traceId":"string"}}}}}}},"/incoming/download":{"get":{"tags":["IncomingWiresV"],"summary":"/incoming/download - GET","description":"Downloads a full collection of all incoming wire payments (unpaginated)","operationId":"get-incoming-download","parameters":[{"name":"fromDate","in":"query","description":"The start date from which to search","schema":{"type":"string","format":"date-time"}},{"name":"toDate","in":"query","description":"The end date for which to search","schema":{"type":"string","format":"date-time"}},{"name":"accountId","in":"query","description":"The account ID for which to search","schema":{"type":"string","format":"uuid"}},{"name":"searchText","in":"query","description":"The omad, imad, beneficiary name, originator name, amount or status, for which to search","schema":{"type":"string"}},{"name":"paginateResults","in":"query","schema":{"type":"boolean"}},{"name":"page","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"perPage","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"sortOn","in":"query","schema":{"type":"string"}},{"name":"sortAscending","in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.IncomingWirePaymentDto"}},"examples":{"default":{"value":null}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.IncomingWirePaymentDto"}},"example":[{"id":"string","amount":0,"isReturn":true,"originalWireId":"string","debtor":{"accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"debtorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditorAgentAccount":{"accountNumber":"string"},"debtorAgentAccount":{"accountNumber":"string"},"instructingAgent":{"memberId":"string","name":"string"},"instructedAgent":{"memberId":"string","name":"string"},"intermediaryAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"previousInstructingAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditor":{"accountId":"string","accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"remittanceInformation":"string","endToEndIdentification":"string","imad":"string","omad":"string","confirmationNumber":"string","completedAt":"string","processDate":"string"}]},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.IncomingWirePaymentDto"}},"example":[{"id":"string","amount":0,"isReturn":true,"originalWireId":"string","debtor":{"accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"debtorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditorAgentAccount":{"accountNumber":"string"},"debtorAgentAccount":{"accountNumber":"string"},"instructingAgent":{"memberId":"string","name":"string"},"instructedAgent":{"memberId":"string","name":"string"},"intermediaryAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"previousInstructingAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditor":{"accountId":"string","accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"remittanceInformation":"string","endToEndIdentification":"string","imad":"string","omad":"string","confirmationNumber":"string","completedAt":"string","processDate":"string"}]}}},"400":{"description":"BadRequest","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"string"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.2","title":"Unauthorized","status":401,"traceId":"string"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.4","title":"Forbidden","status":403,"traceId":"string"}}}},"422":{"description":"UnprocessableEntity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"traceId":"string"}}}},"500":{"description":"InternalServerError","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.6.1","title":"An error occurred while processing your request.","status":500,"traceId":"string"}}}}}}},"/outgoing":{"post":{"tags":["OutgoingWiresV"],"summary":"/outgoing - POST","description":"Initiates a new outgoing wire payment","operationId":"post-outgoing","parameters":[{"name":"x-idempotency-key","in":"header","description":"Unique request idenitfier for idempotency.","required":true,"schema":{"type":"string","format":"uuid"},"example":"d3eb1333-0071-49c3-901a-708dd2b6b3ef"}],"requestBody":{"description":"The wire payment to initiate","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.InitiateWirePaymentDto"},"example":{"amount":0,"processDate":"string","debtorAccountNumber":"string","instructedAgent":{"memberId":"string","name":"string"},"intermediaryAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string"},"name":"string","memberId":"string","bic":"string"},"creditorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string"},"name":"string","memberId":"string","bic":"string"},"creditor":{"accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string"}},"remittanceInformation":"string","endToEndIdentification":"string","creditorAgentAccount":{"accountNumber":"string"}}},"text/json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.InitiateWirePaymentDto"},"example":{"amount":0,"processDate":"string","debtorAccountNumber":"string","instructedAgent":{"memberId":"string","name":"string"},"intermediaryAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string"},"name":"string","memberId":"string","bic":"string"},"creditorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string"},"name":"string","memberId":"string","bic":"string"},"creditor":{"accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string"}},"remittanceInformation":"string","endToEndIdentification":"string","creditorAgentAccount":{"accountNumber":"string"}}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.InitiateWirePaymentDto"},"example":{"amount":0,"processDate":"string","debtorAccountNumber":"string","instructedAgent":{"memberId":"string","name":"string"},"intermediaryAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string"},"name":"string","memberId":"string","bic":"string"},"creditorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string"},"name":"string","memberId":"string","bic":"string"},"creditor":{"accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string"}},"remittanceInformation":"string","endToEndIdentification":"string","creditorAgentAccount":{"accountNumber":"string"}}}}},"responses":{"202":{"description":"Accepted","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Cubi.Common.WebApi.Mediatr.Validation.IdentifierContainer_System.Guid"},"examples":{"default":{"value":null}}},"application/json":{"schema":{"$ref":"#/components/schemas/Cubi.Common.WebApi.Mediatr.Validation.IdentifierContainer_System.Guid"},"example":{"id":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/Cubi.Common.WebApi.Mediatr.Validation.IdentifierContainer_System.Guid"},"example":{"id":"string"}}}},"400":{"description":"BadRequest","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"string"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.2","title":"Unauthorized","status":401,"traceId":"string"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.4","title":"Forbidden","status":403,"traceId":"string"}}}},"422":{"description":"UnprocessableEntity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"traceId":"string"}}}},"500":{"description":"InternalServerError","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.6.1","title":"An error occurred while processing your request.","status":500,"traceId":"string"}}}}}},"get":{"tags":["OutgoingWiresV"],"summary":"/outgoing - GET","description":"Searches for existing outgoing wire payments","operationId":"get-outgoing","parameters":[{"name":"inStatus","in":"query","description":"The statuses for which to search","schema":{"type":"array","items":{"$ref":"#/components/schemas/Cubi.Wires.Domain.Entities.OutgoingWireTransactionStatus"}}},{"name":"fromDate","in":"query","description":"The start date from which to search","schema":{"type":"string","format":"date-time"}},{"name":"toDate","in":"query","description":"The end date for which to search","schema":{"type":"string","format":"date-time"}},{"name":"accountId","in":"query","description":"The account ID for which to search","schema":{"type":"string","format":"uuid"}},{"name":"searchText","in":"query","description":"The omad, imad, beneficiary name, originator name, amount or status for which to search","schema":{"type":"string"}},{"name":"paginateResults","in":"query","schema":{"type":"boolean"}},{"name":"page","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"perPage","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"sortOn","in":"query","schema":{"type":"string"}},{"name":"sortAscending","in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Cubi.Common.Abstractions.Paginated_Cubi.Wires.WebApi.Dto.v2.OutgoingWirePaymentDto"},"examples":{"default":{"value":null}}},"application/json":{"schema":{"$ref":"#/components/schemas/Cubi.Common.Abstractions.Paginated_Cubi.Wires.WebApi.Dto.v2.OutgoingWirePaymentDto"},"example":{"pageSize":0,"pageOffset":0,"totalPages":0,"totalItemCount":0,"items":[{"id":"string","amount":0,"processDate":"string","debtor":{"accountId":"string","accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"creditorAgentAccount":{"accountNumber":"string"},"instructedAgent":{"memberId":"string","name":"string"},"intermediaryAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditor":{"accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"remittanceInformation":"string","endToEndIdentification":"string","status":"Initiated","submittedAt":"string","completedAt":"string","cancelledAt":"string","cancelledReason":"string","imad":"string","omad":"string","confirmationNumber":"string","originatingUser":"string","originatingUserId":"string","channel":"MANUAL"}]}},"text/json":{"schema":{"$ref":"#/components/schemas/Cubi.Common.Abstractions.Paginated_Cubi.Wires.WebApi.Dto.v2.OutgoingWirePaymentDto"},"example":{"pageSize":0,"pageOffset":0,"totalPages":0,"totalItemCount":0,"items":[{"id":"string","amount":0,"processDate":"string","debtor":{"accountId":"string","accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"creditorAgentAccount":{"accountNumber":"string"},"instructedAgent":{"memberId":"string","name":"string"},"intermediaryAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditor":{"accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"remittanceInformation":"string","endToEndIdentification":"string","status":"Initiated","submittedAt":"string","completedAt":"string","cancelledAt":"string","cancelledReason":"string","imad":"string","omad":"string","confirmationNumber":"string","originatingUser":"string","originatingUserId":"string","channel":"MANUAL"}]}}}},"400":{"description":"BadRequest","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"string"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.2","title":"Unauthorized","status":401,"traceId":"string"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.4","title":"Forbidden","status":403,"traceId":"string"}}}},"422":{"description":"UnprocessableEntity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"traceId":"string"}}}},"500":{"description":"InternalServerError","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.6.1","title":"An error occurred while processing your request.","status":500,"traceId":"string"}}}}}}},"/outgoing/{id}":{"get":{"tags":["OutgoingWiresV"],"summary":"/outgoing/{id} - GET","description":"Retrieves an existing outgoing wire payment","operationId":"get-outgoing-id","parameters":[{"name":"id","in":"path","description":"The ID (uuid) of the payment to retrieve","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.OutgoingWirePaymentDto"},"examples":{"default":{"value":null}}},"application/json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.OutgoingWirePaymentDto"},"example":{"id":"string","amount":0,"processDate":"string","debtor":{"accountId":"string","accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"creditorAgentAccount":{"accountNumber":"string"},"instructedAgent":{"memberId":"string","name":"string"},"intermediaryAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditor":{"accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"remittanceInformation":"string","endToEndIdentification":"string","status":"Initiated","submittedAt":"string","completedAt":"string","cancelledAt":"string","cancelledReason":"string","imad":"string","omad":"string","confirmationNumber":"string","originatingUser":"string","originatingUserId":"string","channel":"MANUAL"}},"text/json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.OutgoingWirePaymentDto"},"example":{"id":"string","amount":0,"processDate":"string","debtor":{"accountId":"string","accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"creditorAgentAccount":{"accountNumber":"string"},"instructedAgent":{"memberId":"string","name":"string"},"intermediaryAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditor":{"accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"remittanceInformation":"string","endToEndIdentification":"string","status":"Initiated","submittedAt":"string","completedAt":"string","cancelledAt":"string","cancelledReason":"string","imad":"string","omad":"string","confirmationNumber":"string","originatingUser":"string","originatingUserId":"string","channel":"MANUAL"}}}},"400":{"description":"BadRequest","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"string"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.2","title":"Unauthorized","status":401,"traceId":"string"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.4","title":"Forbidden","status":403,"traceId":"string"}}}},"404":{"description":"NotFound","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.5","title":"Not Found","status":404,"traceId":"string"}}}},"422":{"description":"UnprocessableEntity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"traceId":"string"}}}},"500":{"description":"InternalServerError","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.6.1","title":"An error occurred while processing your request.","status":500,"traceId":"string"}}}}}}},"/incoming/search":{"get":{"tags":["SearchIncomingWiresV"],"summary":"/incoming/search - GET","description":"Searches incoming wire payments","operationId":"get-incoming-search","parameters":[{"name":"fromDate","in":"query","description":"The start date from which to search","schema":{"type":"string","format":"date-time"}},{"name":"toDate","in":"query","description":"The end date for which to search","schema":{"type":"string","format":"date-time"}},{"name":"accountId","in":"query","description":"The account ID for which to search","schema":{"type":"string","format":"uuid"}},{"name":"searchText","in":"query","description":"The omad, imad, beneficiary name, originator name, amount or status, for which to search","schema":{"type":"string"}},{"name":"paginateResults","in":"query","schema":{"type":"boolean"}},{"name":"page","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"perPage","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"sortOn","in":"query","schema":{"type":"string"}},{"name":"sortAscending","in":"query","schema":{"type":"boolean"}},{"name":"filters","in":"query","description":"Search filter values","schema":{"type":"array","items":{"$ref":"#/components/schemas/Cubi.Common.Models.Filter"}}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Cubi.Common.Abstractions.Paginated_Cubi.Wires.WebApi.Dto.v2.IncomingWirePaymentDto"},"examples":{"default":{"value":null}}},"application/json":{"schema":{"$ref":"#/components/schemas/Cubi.Common.Abstractions.Paginated_Cubi.Wires.WebApi.Dto.v2.IncomingWirePaymentDto"},"example":{"pageSize":0,"pageOffset":0,"totalPages":0,"totalItemCount":0,"items":[{"id":"string","amount":0,"isReturn":true,"originalWireId":"string","debtor":{"accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"debtorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditorAgentAccount":{"accountNumber":"string"},"debtorAgentAccount":{"accountNumber":"string"},"instructingAgent":{"memberId":"string","name":"string"},"instructedAgent":{"memberId":"string","name":"string"},"intermediaryAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"previousInstructingAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditor":{"accountId":"string","accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"remittanceInformation":"string","endToEndIdentification":"string","imad":"string","omad":"string","confirmationNumber":"string","completedAt":"string","processDate":"string"}]}},"text/json":{"schema":{"$ref":"#/components/schemas/Cubi.Common.Abstractions.Paginated_Cubi.Wires.WebApi.Dto.v2.IncomingWirePaymentDto"},"example":{"pageSize":0,"pageOffset":0,"totalPages":0,"totalItemCount":0,"items":[{"id":"string","amount":0,"isReturn":true,"originalWireId":"string","debtor":{"accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"debtorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditorAgentAccount":{"accountNumber":"string"},"debtorAgentAccount":{"accountNumber":"string"},"instructingAgent":{"memberId":"string","name":"string"},"instructedAgent":{"memberId":"string","name":"string"},"intermediaryAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"previousInstructingAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditor":{"accountId":"string","accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"remittanceInformation":"string","endToEndIdentification":"string","imad":"string","omad":"string","confirmationNumber":"string","completedAt":"string","processDate":"string"}]}}}},"400":{"description":"BadRequest","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"string"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.2","title":"Unauthorized","status":401,"traceId":"string"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.4","title":"Forbidden","status":403,"traceId":"string"}}}},"422":{"description":"UnprocessableEntity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"traceId":"string"}}}},"500":{"description":"InternalServerError","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.6.1","title":"An error occurred while processing your request.","status":500,"traceId":"string"}}}}}}},"/outgoing/search":{"get":{"tags":["SearchOutgoingWiresV"],"summary":"/outgoing/search - GET","description":"Searches for existing wire payments","operationId":"get-outgoing-search","parameters":[{"name":"inStatus","in":"query","description":"The statuses for which to search","schema":{"type":"array","items":{"$ref":"#/components/schemas/Cubi.Wires.Domain.Entities.OutgoingWireTransactionStatus"}}},{"name":"fromDate","in":"query","description":"The start date from which to search","schema":{"type":"string","format":"date-time"}},{"name":"toDate","in":"query","description":"The end date for which to search","schema":{"type":"string","format":"date-time"}},{"name":"accountId","in":"query","description":"The account ID for which to search","schema":{"type":"string","format":"uuid"}},{"name":"searchText","in":"query","description":"The omad, imad, beneficiary name, originator name, amount or status for which to search","schema":{"type":"string"}},{"name":"paginateResults","in":"query","schema":{"type":"boolean"}},{"name":"page","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"perPage","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"sortOn","in":"query","schema":{"type":"string"}},{"name":"sortAscending","in":"query","schema":{"type":"boolean"}},{"name":"filters","in":"query","description":"Search filter values","schema":{"type":"array","items":{"$ref":"#/components/schemas/Cubi.Common.Models.Filter"}}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Cubi.Common.Abstractions.Paginated_Cubi.Wires.WebApi.Dto.v2.OutgoingWirePaymentDto"},"examples":{"default":{"value":null}}},"application/json":{"schema":{"$ref":"#/components/schemas/Cubi.Common.Abstractions.Paginated_Cubi.Wires.WebApi.Dto.v2.OutgoingWirePaymentDto"},"example":{"pageSize":0,"pageOffset":0,"totalPages":0,"totalItemCount":0,"items":[{"id":"string","amount":0,"processDate":"string","debtor":{"accountId":"string","accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"creditorAgentAccount":{"accountNumber":"string"},"instructedAgent":{"memberId":"string","name":"string"},"intermediaryAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditor":{"accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"remittanceInformation":"string","endToEndIdentification":"string","status":"Initiated","submittedAt":"string","completedAt":"string","cancelledAt":"string","cancelledReason":"string","imad":"string","omad":"string","confirmationNumber":"string","originatingUser":"string","originatingUserId":"string","channel":"MANUAL"}]}},"text/json":{"schema":{"$ref":"#/components/schemas/Cubi.Common.Abstractions.Paginated_Cubi.Wires.WebApi.Dto.v2.OutgoingWirePaymentDto"},"example":{"pageSize":0,"pageOffset":0,"totalPages":0,"totalItemCount":0,"items":[{"id":"string","amount":0,"processDate":"string","debtor":{"accountId":"string","accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"creditorAgentAccount":{"accountNumber":"string"},"instructedAgent":{"memberId":"string","name":"string"},"intermediaryAgent1":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditorAgent":{"address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]},"name":"string","memberId":"string","bic":"string"},"creditor":{"accountNumber":"string","name":"string","address":{"streetName":"string","floor":"string","city":"string","state":"string","postalCode":"string","countryCode":"string","addressLines":["string"]}},"remittanceInformation":"string","endToEndIdentification":"string","status":"Initiated","submittedAt":"string","completedAt":"string","cancelledAt":"string","cancelledReason":"string","imad":"string","omad":"string","confirmationNumber":"string","originatingUser":"string","originatingUserId":"string","channel":"MANUAL"}]}}}},"400":{"description":"BadRequest","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"string"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.2","title":"Unauthorized","status":401,"traceId":"string"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.4","title":"Forbidden","status":403,"traceId":"string"}}}},"422":{"description":"UnprocessableEntity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"traceId":"string"}}}},"500":{"description":"InternalServerError","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.6.1","title":"An error occurred while processing your request.","status":500,"traceId":"string"}}}}}}},"/outgoing/{id}/cancel":{"post":{"tags":["OutgoingWiresV"],"summary":"/outgoing/{id}/cancel - POST","description":"Requests cancellation of an existing wire payment.\r\nWires may only be cancelled if they are in an Initiated status.","operationId":"post-outgoing-id-cancel","parameters":[{"name":"id","in":"path","description":"The ID (uuid) of the wire payment to cancel","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"x-idempotency-key","in":"header","description":"Unique request idenitfier for idempotency.","required":true,"schema":{"type":"string","format":"uuid"},"example":"6d6eecbb-c560-43f3-8882-49d3661c190a"}],"requestBody":{"description":"Details for the cancellation request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.CancelWireDto"},"example":{"reason":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.CancelWireDto"},"example":{"reason":"string"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.CancelWireDto"},"example":{"reason":"string"}}}},"responses":{"202":{"description":"Accepted","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Cubi.Common.WebApi.Mediatr.Validation.IdentifierContainer_System.Guid"},"examples":{"default":{"value":null}}},"application/json":{"schema":{"$ref":"#/components/schemas/Cubi.Common.WebApi.Mediatr.Validation.IdentifierContainer_System.Guid"},"example":{"id":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/Cubi.Common.WebApi.Mediatr.Validation.IdentifierContainer_System.Guid"},"example":{"id":"string"}}}},"400":{"description":"BadRequest","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"string"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.2","title":"Unauthorized","status":401,"traceId":"string"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.4","title":"Forbidden","status":403,"traceId":"string"}}}},"404":{"description":"NotFound","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.5","title":"Not Found","status":404,"traceId":"string"}}}},"422":{"description":"UnprocessableEntity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"traceId":"string"}}}},"500":{"description":"InternalServerError","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.6.1","title":"An error occurred while processing your request.","status":500,"traceId":"string"}}}}}}},"/outgoing/{id}/approve":{"post":{"tags":["OutgoingWiresV"],"summary":"/outgoing/{id}/approve - POST","description":"Approves a pending outgoing wire","operationId":"post-outgoing-id-approve","parameters":[{"name":"id","in":"path","description":"The ID of the wire to approve","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"x-idempotency-key","in":"header","description":"Unique request idenitfier for idempotency.","required":true,"schema":{"type":"string","format":"uuid"},"example":"67bc79da-31e3-4573-9ec4-2acde27c6a63"}],"responses":{"202":{"description":"Accepted","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Cubi.Common.WebApi.Mediatr.Validation.IdentifierContainer_System.Guid"},"examples":{"default":{"value":null}}},"application/json":{"schema":{"$ref":"#/components/schemas/Cubi.Common.WebApi.Mediatr.Validation.IdentifierContainer_System.Guid"},"example":{"id":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/Cubi.Common.WebApi.Mediatr.Validation.IdentifierContainer_System.Guid"},"example":{"id":"string"}}}},"400":{"description":"BadRequest","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"string"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.2","title":"Unauthorized","status":401,"traceId":"string"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.4","title":"Forbidden","status":403,"traceId":"string"}}}},"404":{"description":"NotFound","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.5","title":"Not Found","status":404,"traceId":"string"}}}},"422":{"description":"UnprocessableEntity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"traceId":"string"}}}},"500":{"description":"InternalServerError","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.6.1","title":"An error occurred while processing your request.","status":500,"traceId":"string"}}}}}}},"/outgoing/{id}/decline":{"post":{"tags":["OutgoingWiresV"],"summary":"/outgoing/{id}/decline - POST","description":"Declines a wire which is pending approval","operationId":"post-outgoing-id-decline","parameters":[{"name":"id","in":"path","description":"The ID of the wire to decline","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"x-idempotency-key","in":"header","description":"Unique request idenitfier for idempotency.","required":true,"schema":{"type":"string","format":"uuid"},"example":"aaaf26b7-891c-4170-97aa-7eae34dc86a8"}],"requestBody":{"description":"Details on the decline operation, such as reason","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.DeclineOutgoingWireDto"},"example":{"reason":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.DeclineOutgoingWireDto"},"example":{"reason":"string"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.DeclineOutgoingWireDto"},"example":{"reason":"string"}}}},"responses":{"202":{"description":"Accepted","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Cubi.Common.WebApi.Mediatr.Validation.IdentifierContainer_System.Guid"},"examples":{"default":{"value":null}}},"application/json":{"schema":{"$ref":"#/components/schemas/Cubi.Common.WebApi.Mediatr.Validation.IdentifierContainer_System.Guid"},"example":{"id":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/Cubi.Common.WebApi.Mediatr.Validation.IdentifierContainer_System.Guid"},"example":{"id":"string"}}}},"400":{"description":"BadRequest","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"string"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.2","title":"Unauthorized","status":401,"traceId":"string"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.4","title":"Forbidden","status":403,"traceId":"string"}}}},"404":{"description":"NotFound","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.5","title":"Not Found","status":404,"traceId":"string"}}}},"422":{"description":"UnprocessableEntity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"traceId":"string"}}}},"500":{"description":"InternalServerError","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.6.1","title":"An error occurred while processing your request.","status":500,"traceId":"string"}}}}}}},"/outgoing/bulk-approve":{"post":{"tags":["OutgoingWiresV"],"summary":"/outgoing/bulk-approve - POST","description":"Approves multiple pending outgoing wires","operationId":"post-outgoing-bulk-approve","parameters":[{"name":"x-idempotency-key","in":"header","description":"Unique request idenitfier for idempotency.","required":true,"schema":{"type":"string","format":"uuid"},"example":"fbd6c524-be7a-4ad8-b0f1-7acefafd2b0d"}],"requestBody":{"description":"The IDs of the wires to approve","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.ApproveOutgoingWiresDto"},"example":{"wireIds":["string"]}},"text/json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.ApproveOutgoingWiresDto"},"example":{"wireIds":["string"]}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.ApproveOutgoingWiresDto"},"example":{"wireIds":["string"]}}}},"responses":{"202":{"description":"Accepted"},"400":{"description":"BadRequest","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"string"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.2","title":"Unauthorized","status":401,"traceId":"string"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.4","title":"Forbidden","status":403,"traceId":"string"}}}},"404":{"description":"NotFound","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.5","title":"Not Found","status":404,"traceId":"string"}}}},"422":{"description":"UnprocessableEntity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"traceId":"string"}}}},"500":{"description":"InternalServerError","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.6.1","title":"An error occurred while processing your request.","status":500,"traceId":"string"}}}}}}},"/outgoing/bulk-decline":{"post":{"tags":["OutgoingWiresV"],"summary":"/outgoing/bulk-decline - POST","description":"Declines multiple pending outgoing wires","operationId":"post-outgoing-bulk-decline","parameters":[{"name":"x-idempotency-key","in":"header","description":"Unique request idenitfier for idempotency.","required":true,"schema":{"type":"string","format":"uuid"},"example":"1c79f2fd-b97f-4ec4-8338-9e8e69bcf22f"}],"requestBody":{"description":"The IDs of the wires to decline, and the reason for the decline","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.DeclineOutgoingWiresDto"},"example":{"wireIds":["string"],"reason":"string"}},"text/json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.DeclineOutgoingWiresDto"},"example":{"wireIds":["string"],"reason":"string"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.DeclineOutgoingWiresDto"},"example":{"wireIds":["string"],"reason":"string"}}}},"responses":{"202":{"description":"Accepted"},"400":{"description":"BadRequest","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"string"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.2","title":"Unauthorized","status":401,"traceId":"string"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.4","title":"Forbidden","status":403,"traceId":"string"}}}},"404":{"description":"NotFound","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.5","title":"Not Found","status":404,"traceId":"string"}}}},"422":{"description":"UnprocessableEntity","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc4918#section-11.2","title":"Unprocessable Entity","status":422,"traceId":"string"}}}},"500":{"description":"InternalServerError","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"},"example":{"type":"https://tools.ietf.org/html/rfc9110#section-15.6.1","title":"An error occurred while processing your request.","status":500,"traceId":"string"}}}}}}}},"components":{"schemas":{"Cubi.Common.Abstractions.Paginated_Cubi.Wires.WebApi.Dto.AccountControlTypeDto":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageOffset":{"type":"integer","format":"int32"},"totalPages":{"type":"integer","format":"int32"},"totalItemCount":{"type":"integer","format":"int32"},"items":{"type":"array","items":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.AccountControlTypeDto"}}},"additionalProperties":false},"Cubi.Common.Abstractions.Paginated_Cubi.Wires.WebApi.Dto.v2.IncomingWirePaymentDto":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageOffset":{"type":"integer","format":"int32"},"totalPages":{"type":"integer","format":"int32"},"totalItemCount":{"type":"integer","format":"int32"},"items":{"type":"array","items":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.IncomingWirePaymentDto"}}},"additionalProperties":false},"Cubi.Common.Abstractions.Paginated_Cubi.Wires.WebApi.Dto.v2.OutgoingWirePaymentDto":{"type":"object","properties":{"pageSize":{"type":"integer","format":"int32"},"pageOffset":{"type":"integer","format":"int32"},"totalPages":{"type":"integer","format":"int32"},"totalItemCount":{"type":"integer","format":"int32"},"items":{"type":"array","items":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.OutgoingWirePaymentDto"}}},"additionalProperties":false},"Cubi.Common.Models.Filter":{"required":["field","operator","value"],"type":"object","properties":{"value":{"type":"string"},"field":{"type":"string"},"operator":{"type":"string"}},"additionalProperties":false},"Cubi.Common.WebApi.Mediatr.Validation.IdentifierContainer_System.Guid":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"additionalProperties":false},"Cubi.Wires.Contracts.Dto.WireChannel":{"enum":["MANUAL","API","FTP","Q2","WHL"],"type":"string"},"Cubi.Wires.Contracts.Messages.AccountEntitlementType":{"enum":["None","View","Full","Approve"],"type":"string"},"Cubi.Wires.Domain.Entities.OutgoingWireTransactionStatus":{"enum":["Initiated","Pending","Accepted","Completed","Cancelled","Rejected","Returned","ApprovalRequired","Declined"],"type":"string"},"Cubi.Wires.WebApi.Dto.AccountAccessDto":{"type":"object","properties":{"accountId":{"type":"string","description":"The Id (uuid) of the account","format":"uuid"},"isWiresEnabled":{"type":"boolean","description":"Whether or not outbound wires are enabled for the account"}},"additionalProperties":false},"Cubi.Wires.WebApi.Dto.AccountControlTypeDto":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the account","format":"uuid"},"controlType":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.ControlTypeDto"},"accountNumber":{"type":"string","description":"The account number"}},"additionalProperties":false},"Cubi.Wires.WebApi.Dto.AccountEntitlements.AccountEntitlementDto":{"type":"object","properties":{"accountId":{"type":"string","description":"The Id (uuid) of the account","format":"uuid"},"entitlement":{"$ref":"#/components/schemas/Cubi.Wires.Contracts.Messages.AccountEntitlementType"}},"additionalProperties":false},"Cubi.Wires.WebApi.Dto.AccountEntitlements.AccountEntitlementsDto":{"type":"object","properties":{"entitlements":{"type":"array","items":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.AccountEntitlements.AccountEntitlementDto"},"description":"The entitlements for the account in question"}},"additionalProperties":false},"Cubi.Wires.WebApi.Dto.ApproveOutgoingWiresDto":{"type":"object","properties":{"wireIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"The IDs of the wires to be approved"}},"additionalProperties":false},"Cubi.Wires.WebApi.Dto.CancelWireDto":{"type":"object","properties":{"reason":{"type":"string","description":"The reason for the cancellation request"}},"additionalProperties":false},"Cubi.Wires.WebApi.Dto.ControlTypeDto":{"enum":["Single","Dual"],"type":"string"},"Cubi.Wires.WebApi.Dto.DeclineOutgoingWireDto":{"type":"object","properties":{"reason":{"type":"string","description":"The reason the wire is being declined","nullable":true}},"additionalProperties":false},"Cubi.Wires.WebApi.Dto.DeclineOutgoingWiresDto":{"type":"object","properties":{"wireIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"The IDs of the wires to be declined"},"reason":{"type":"string","description":"The reason the wire are being declined"}},"additionalProperties":false},"Cubi.Wires.WebApi.Dto.OutgoingWireTransactionStatusDto":{"enum":["Initiated","Pending","Accepted","Completed","Cancelled","Rejected","Returned","ApprovalRequired","Declined"],"type":"string"},"Cubi.Wires.WebApi.Dto.UpdateAccountControlTypeDto":{"type":"object","properties":{"controlType":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.ControlTypeDto"}},"additionalProperties":false},"Cubi.Wires.WebApi.Dto.v2.AddressDto":{"type":"object","properties":{"streetName":{"type":"string","description":"Street or address line 1"},"floor":{"type":"string","description":"Street or address line 2","nullable":true},"city":{"type":"string","description":"City"},"state":{"type":"string","description":"State or Province","nullable":true},"postalCode":{"type":"string","description":"Postal Code","nullable":true},"countryCode":{"type":"string","description":"Country Code"},"addressLines":{"type":"array","items":{"type":"string"},"description":"Unstructured Address lines. Typically used if a structured address was not provided."}},"additionalProperties":false,"description":"An address object, which may be structured or unstructured"},"Cubi.Wires.WebApi.Dto.v2.AgentAccountDto":{"type":"object","properties":{"accountNumber":{"type":"string","description":"The settlement account number for the entity","nullable":true}},"additionalProperties":false,"description":"Settlement account for creditor agent account"},"Cubi.Wires.WebApi.Dto.v2.AgentDto":{"type":"object","properties":{"address":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.AddressDto"},"name":{"type":"string","description":"The name of the entity"},"memberId":{"type":"string","description":"The clearing system member id (typically an ABA) of the entity","nullable":true},"bic":{"type":"string","description":"The BIC of the entity","nullable":true}},"additionalProperties":false,"description":"A bank or financial institution participating in a wire payment"},"Cubi.Wires.WebApi.Dto.v2.IncomingCreditorDto":{"type":"object","properties":{"accountId":{"type":"string","description":"The CUBIX ID (UUID) of the account","format":"uuid","nullable":true},"accountNumber":{"type":"string","description":"The account number of the beneficiary"},"name":{"type":"string","description":"The name of the beneficiary party","nullable":true},"address":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.AddressDto"}},"additionalProperties":false,"description":"The beneficiary (the person or company receiving funds)"},"Cubi.Wires.WebApi.Dto.v2.IncomingDebtorDto":{"type":"object","properties":{"accountNumber":{"type":"string","description":"The account number of the originator","nullable":true},"name":{"type":"string","description":"The name of the originator","nullable":true},"address":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.AddressDto"}},"additionalProperties":false,"description":"The originating party of a wire payment"},"Cubi.Wires.WebApi.Dto.v2.IncomingWirePaymentDto":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the wire payment","format":"uuid"},"amount":{"type":"number","description":"The amount of the wire payment","format":"double"},"isReturn":{"type":"boolean","description":"Indicates if the wire payment is a return payment"},"originalWireId":{"type":"string","description":"Original ID of the outgoing wire payment, only applicable if the wire is a return","format":"uuid","nullable":true},"debtor":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.IncomingDebtorDto"},"debtorAgent":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.AgentDto"},"creditorAgentAccount":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.AgentAccountDto"},"debtorAgentAccount":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.AgentAccountDto"},"instructingAgent":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.InstructingAgentDto"},"instructedAgent":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.InstructedAgentDto"},"intermediaryAgent1":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.AgentDto"},"previousInstructingAgent1":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.AgentDto"},"creditorAgent":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.AgentDto"},"creditor":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.IncomingCreditorDto"},"remittanceInformation":{"type":"string","description":"Originator to beneficiary notes for the wire","nullable":true},"endToEndIdentification":{"type":"string","description":"End to end identifier for the payment","nullable":true},"imad":{"type":"string","description":"The IMAD for the incoming wire payment","nullable":true},"omad":{"type":"string","description":"The OMAD for the incoming wire payment","nullable":true},"confirmationNumber":{"type":"string","description":"The confirmation number for the posted payment. If present, this can be used to reconcile/match the payment to an underlying transaction","nullable":true},"completedAt":{"type":"string","description":"The datetime when the wire payment was completed","format":"date-time"},"processDate":{"type":"string","description":"The intended processing date of the wire. The actual date of completion may vary based on if the wire was originally intended after hours, holiday, weekend etc.","format":"date-time"}},"additionalProperties":false,"description":"Represents an incoming (received) wire payment"},"Cubi.Wires.WebApi.Dto.v2.InitiateAddressDto":{"required":["city","countryCode","streetName"],"type":"object","properties":{"streetName":{"maxLength":35,"minLength":1,"type":"string","description":"Address line 1. Typically street number and name"},"floor":{"maxLength":35,"minLength":0,"type":"string","description":"Address line 2. Typically suite or floor","nullable":true},"city":{"maxLength":35,"minLength":1,"type":"string","description":"The city or town of the address"},"state":{"maxLength":35,"minLength":1,"type":"string","description":"State or province","nullable":true},"postalCode":{"maxLength":10,"minLength":1,"pattern":"^[A-Za-z0-9 ]{3,10}$","type":"string","description":"Postal Code. Alphanumeric, optional spaces, 3-10 characters. Country-specific formats vary.","nullable":true},"countryCode":{"maxLength":2,"minLength":2,"type":"string","description":"Country code (2 Character). Should follow the ISO 3166-1 alpha-2 standard"}},"additionalProperties":false,"description":"Bank Address"},"Cubi.Wires.WebApi.Dto.v2.InitiateAgentAccountDto":{"required":["accountNumber"],"type":"object","properties":{"accountNumber":{"maxLength":34,"minLength":0,"type":"string","description":"The settlement account number for the entity"}},"additionalProperties":false},"Cubi.Wires.WebApi.Dto.v2.InitiateAgentDto":{"required":["name"],"type":"object","properties":{"address":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.InitiateAddressDto"},"name":{"maxLength":35,"minLength":0,"type":"string","description":"The name of the financial institution"},"memberId":{"maxLength":9,"minLength":9,"type":"string","description":"The ABA of the financial institution","nullable":true},"bic":{"maxLength":11,"minLength":8,"type":"string","description":"The BIC of the financial institution","nullable":true}},"additionalProperties":false,"description":"Bank participating in the payment chain"},"Cubi.Wires.WebApi.Dto.v2.InitiateCreditorDto":{"required":["accountNumber","address","name"],"type":"object","properties":{"accountNumber":{"maxLength":35,"minLength":1,"type":"string","description":"The beneficiary account number where the payment will be credited"},"name":{"maxLength":140,"minLength":1,"type":"string","description":"The name of the beneficiary party"},"address":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.InitiateAddressDto"}},"additionalProperties":false,"description":"The beneficiary for the payment"},"Cubi.Wires.WebApi.Dto.v2.InitiateInstructedAgentDto":{"required":["memberId"],"type":"object","properties":{"memberId":{"maxLength":9,"minLength":9,"type":"string","description":"Routing number of the receiving bank. This must be a federal ABA number. If there is no intermediary bank, then this should be the ABA number of the beneficiary bank"},"name":{"maxLength":35,"minLength":1,"type":"string","description":"Name of receiving bank. If there is no intermediary bank, then this should be the name of the beneficiary bank","nullable":true}},"additionalProperties":false},"Cubi.Wires.WebApi.Dto.v2.InitiateIntermediateAgentDto":{"type":"object","properties":{"address":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.InitiateAddressDto"},"name":{"maxLength":35,"minLength":0,"type":"string","description":"The name of the financial institution","nullable":true},"memberId":{"maxLength":9,"minLength":9,"type":"string","description":"The ABA of the financial institution","nullable":true},"bic":{"maxLength":11,"minLength":8,"type":"string","description":"The BIC of the financial institution","nullable":true}},"additionalProperties":false,"description":"Intermediate bank for a wire payment"},"Cubi.Wires.WebApi.Dto.v2.InitiateWirePaymentDto":{"required":["amount","creditor","creditorAgent","debtorAccountNumber","instructedAgent"],"type":"object","properties":{"amount":{"maximum":999999999.99,"minimum":0.01,"type":"number","description":"Amount of wire transaction, in dollars and cents","format":"double"},"processDate":{"type":"string","description":"The date on which the wire will be processed.Must be today's date or a future date. If not provided, the next available processing date will be applied.","format":"date-time","nullable":true},"debtorAccountNumber":{"maxLength":35,"minLength":1,"type":"string","description":"The account number from which to originate the payment"},"instructedAgent":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.InitiateInstructedAgentDto"},"intermediaryAgent1":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.InitiateIntermediateAgentDto"},"creditorAgent":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.InitiateAgentDto"},"creditor":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.InitiateCreditorDto"},"remittanceInformation":{"maxLength":140,"minLength":0,"type":"string","description":"Originator to beneficiary notes on the wire. Length of notes is not limited, but only the first 140 characters will be sent within the wire to the corresponding bank.","nullable":true},"endToEndIdentification":{"maxLength":16,"minLength":0,"type":"string","description":"The end to end tracing id for the payment. Will be sent to the correspondent bank","nullable":true},"creditorAgentAccount":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.InitiateAgentAccountDto"}},"additionalProperties":false,"description":"Initiates an outgoing wire payment"},"Cubi.Wires.WebApi.Dto.v2.InstructedAgentDto":{"type":"object","properties":{"memberId":{"type":"string","description":"Routing number of the receiving bank. This must be a federal ABA number. If there is no intermediary bank, then this should be the ABA number of the beneficiary bank","nullable":true},"name":{"type":"string","description":"Name of receiving bank. If there is no intermediary bank, then this should be the name of the beneficiary bank","nullable":true}},"additionalProperties":false,"description":"The bank that received the Fedwire message (instructed agent / receiver)"},"Cubi.Wires.WebApi.Dto.v2.InstructingAgentDto":{"type":"object","properties":{"memberId":{"type":"string","description":"The routing number of the sending institution","nullable":true},"name":{"type":"string","description":"The name of the sending institution","nullable":true}},"additionalProperties":false,"description":"The bank that sent the Fedwire message (instructing agent / sender)"},"Cubi.Wires.WebApi.Dto.v2.OutgoingCreditorDto":{"type":"object","properties":{"accountNumber":{"type":"string","description":"The account number of the beneficiary"},"name":{"type":"string","description":"The name of the beneficiary party","nullable":true},"address":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.AddressDto"}},"additionalProperties":false,"description":"The beneficiary (the person or company receiving funds)"},"Cubi.Wires.WebApi.Dto.v2.OutgoingDebtorDto":{"type":"object","properties":{"accountId":{"type":"string","description":"The CUBIX ID (UUID) of the account","format":"uuid","nullable":true},"accountNumber":{"type":"string","description":"The account number of the originator","nullable":true},"name":{"type":"string","description":"The name of the originator","nullable":true},"address":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.AddressDto"}},"additionalProperties":false,"description":"The originating party of a wire payment"},"Cubi.Wires.WebApi.Dto.v2.OutgoingWirePaymentDto":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the wire payment","format":"uuid"},"amount":{"type":"number","description":"Amount of wire transaction, in dollars and cents","format":"double"},"processDate":{"type":"string","description":"The intended processing date of the wire. The actual date of completion may vary based on if the wire was originally intended after hours, holiday, weekend etc.","format":"date-time"},"debtor":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.OutgoingDebtorDto"},"creditorAgentAccount":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.AgentAccountDto"},"instructedAgent":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.InstructedAgentDto"},"intermediaryAgent1":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.AgentDto"},"creditorAgent":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.AgentDto"},"creditor":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.v2.OutgoingCreditorDto"},"remittanceInformation":{"type":"string","description":"Originator to beneficiary notes for the wire.","nullable":true},"endToEndIdentification":{"type":"string","description":"End to end identifier for the payment","nullable":true},"status":{"$ref":"#/components/schemas/Cubi.Wires.WebApi.Dto.OutgoingWireTransactionStatusDto"},"submittedAt":{"type":"string","description":"The time at which the wire payment was submitted","format":"date-time"},"completedAt":{"type":"string","description":"The time at which the wire was completed","format":"date-time","nullable":true},"cancelledAt":{"type":"string","description":"The time at which the wire was cancelled","format":"date-time","nullable":true},"cancelledReason":{"type":"string","description":"The reason for cancellation, only applicable if the wire is in a cancelled status","nullable":true},"imad":{"type":"string","description":"The IMAD for the completed wire payment","nullable":true},"omad":{"type":"string","description":"The OMAD for the completed wire payment","nullable":true},"confirmationNumber":{"type":"string","description":"The confirmation number for the posted payment. If present, this can be used to reconcile/match the payment to an underlying transaction","nullable":true},"originatingUser":{"type":"string","description":"The name of the user originating the wire","nullable":true},"originatingUserId":{"type":"string","description":"The ID of the user originating the wire","format":"uuid"},"channel":{"$ref":"#/components/schemas/Cubi.Wires.Contracts.Dto.WireChannel"}},"additionalProperties":false},"Microsoft.AspNetCore.Mvc.ProblemDetails":{"type":"object","properties":{"type":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"status":{"type":"integer","format":"int32","nullable":true},"detail":{"type":"string","nullable":true},"traceId":{"type":"string","nullable":true}},"additionalProperties":{}},"Microsoft.AspNetCore.Mvc.ValidationProblemDetails":{"type":"object","properties":{"type":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"status":{"type":"integer","format":"int32","nullable":true},"detail":{"type":"string","nullable":true},"traceId":{"type":"string","nullable":true},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"additionalProperties":{}}}},"x-readme":{"explorer-enabled":false,"proxy-enabled":true}}