Contents

runIntegrationTestV2#

Run an integration test on a test deployment of the exchange and merchant. The test withdraws a fixed amount in the exchange’s currency and then exercises payments, a refund, peer-to-peer push and pull payments, and a deposit to a bank account.

Request:

The request must be an IntegrationTestV2Args object.

Response:

On success, the result is an empty object.

Side effects:

Performs real withdrawals, payments, a refund, peer-to-peer payments and a deposit at the test deployment over the network.

interface IntegrationTestV2Args {
  exchangeBaseUrl: string;
  corebankApiBaseUrl: string;
  merchantBaseUrl: string;
  merchantAuthToken?: string;
}