Test Case Simulation

Using the Test Case Simulator

All endpoint calls to the POST /Create Sender and POST /Create Transfer endpoints pass through the test case simulator in our Sandbox environment. Each test case has a triggered condition that when used will cause the simulator to return a simulated response. If a call to an endpoint is made with no trigger invoked, the request will pass through to the API.

When running a test case through the simulator, when a trigger is used, compare the response received to the outcome code. The Sub-Test Case column shows the expected test case/error to be returned in the response.


Example

Here is an example of simulating the POST /Create Sender test case for Address Component Missing. Address_Line_1 is a required field for creating a sender. If we send a request with Address_Line_1 we will expect to see a missing required field error for the Address with a 400 - Bad Request response code


Simulated Use Cases


The table below contain a list of all the available simulated test cases supported. Not every possible error is listed below. For example, missing any required field in a call to the endpoints will result in a missing required field error for the given field.

ServiceTest CaseSub-Test CaseOutcomeTrigger
POST/Create TransferSuccessBank Account201 - CreatedN/A - A valid bank account transfer will bypass the proxy
POST/Create TransferSuccessPush to Card201 - CreatedN/A - A valid push to card transfer will bypass the proxy
POST/Create TransferUnauthorizedN/A401 - UnauthorizedSender First Name: John, Sender Last Name: Doe
POST/Create TransferValidation ErrorsMissing Required Field - Recipient ID for Bank Account400 - Bad RequestN/A - triggered when no recipientId is included is included in request
POST/Create TransferValidation ErrorsMissing Required Field - Invalid Amount400 - Bad RequestN/A - triggered when no amount is included in request
POST/Create TransferValidation ErrorsMissing Required Field - Quote History ID400 - Bad RequestN/A - triggered when no quoteHistoryId is included in request
POST/Create TransferValidation ErrorsMin/Max Limit Validation on Corridor400 - Bad RequestAmount: 1000000000
POST/Create TransferValidation ErrorsInsufficient Funds in FBO Account400 - Bad RequestSender First Name: Rose, Sender Last Name: Doe
POST/Create TransferValidation ErrorsInvalid NONCE400 - Bad RequestNONCE Value: 11111111-1111-1111-1111-111111111111
POST/Create TransferValidation ErrorsQuote Change (within same session)400 - Bad RequestSender First Name: James, Sender Last Name: Doe
POST/Create TransferValidation ErrorsSender ID Expired on Transfer (existing sender)400 - Bad RequestSender First Name: Jeffrey, Sender Last Name: Doe
POST/Create TransferValidation ErrorsInvalid Card during Push to Card400 - Bad RequestSender First Name: Jay, Sender Last Name: Doe
POST/Create TransferTimeoutTimeout504 - Gateway TimeoutSender First Name: Jennifer, Sender Last Name: Doe
POST/Create TransferTimeoutTimeoutNo ResponseSender First Name: Jamie, Sender Last Name: Doe
POST/Create SenderSuccessCreate Person Sender201 - CreatedN/A - A valid sender will bypass the proxy
POST/Create SenderUnauthorizedN/A401 - UnauthorizedSender First Name: John, Sender Last Name: Doe
POST/Create SenderValidation ErrorsMissing Required Field - Address Component Missing400 - Bad RequestDo not include ADDRESS_LINE_1
POST/Create SenderValidation ErrorsMissing Required Field - Phone Number400 - Bad RequestDo not include PHONE_NUMBER
POST/Create SenderValidation ErrorsRegex Validation - SSN has letters400 - Bad RequestID Number: TSTIDNMBR, ID Type: SSN
POST/Create SenderValidation ErrorsRegex Validation - Name has unsupported special character400 - Bad RequestSender First Name: Joh:n
POST/Create SenderValidation ErrorsCHAR Count Validation - Sender First Name with 1 CHAR400 - Bad RequestSender First Name: X
POST/Create SenderValidation ErrorsDoB Validation - Sender younger than 18400 - Bad RequestDate of Birth: 2025-01-01
POST/Create SenderTimeoutTimeout504 - Gateway TimeoutSender First Name: Mark, Sender Last Name: Henry
POST/Create SenderTimeoutTimeoutNo ResponseSender First Name: Felix, Sender Last Name: Oblac
GET/NonceSuccessN/A200 - OKN/A
GET/NonceValidation ErrorsN/A504 - Gateway TimeoutN/A
GET/NonceN/ANo ResponseN/AN/A