Endpoints Overview
Register MPC Vault
Register your MPC vault configuration to enable FX trading. This step is required before you can create limit orders or execute trades. Your registration is submitted for admin approval and the cNGN wallet is automatically assigned to your fintech smart wallet.MPC Vault is a third-party wallet infrastructure provider independent of Strails. You must create and maintain your own account at mpcvault.com. All interactions with MPC Vault are subject to MPC Vault’s own terms and conditions. Strails assumes no liability for losses arising from the use of MPC Vault services.
- Request
- Response
string
required
Your MPC Vault API key, obtained from the MPC Vault dashboard.
string
required
The SSH public key used to verify callback signatures from MPC Vault.
string
required
Your OpenSSH private key with
\n as the newline separator between each base64-encoded line.string
required
Your MPC Vault identifier, found in the MPC Vault dashboard.
object
required
Wallet addresses for each supported stablecoin.
array
required
One or more email addresses that will receive FX event notifications.
Get FX Settings
Retrieve your fintech’s complete FX configuration after Strails admin approval. The response includes MPC vault credentials (partially masked), auto-signing VM details, token wallet addresses, and notification settings.Once auto-signing is enabled, you must add the
natExternalIp value returned in this response to both your MPC Vault API allowlist and your MPC Vault IP whitelist. Without this step, auto-signing requests will be rejected by MPC Vault. If auto-signing ever fails, Strails automatically falls back to manual approval so that active trades are not lost.- Request
- Response
Enable Auto-Signing
Enable automatic transaction signing for FX trades. When enabled, any trade whose USD value falls at or below your configured threshold is signed by the auto-signer VM without manual intervention.- Request
- Response
Disable Auto-Signing
Disable automatic transaction signing. After disabling, all FX trades will require manual approval through MPC Vault regardless of their USD value.- Request
- Response
Set Auto-Signing Threshold
Set the USD value threshold for automatic signing. Trades at or below this threshold are auto-signed when auto-signing is enabled; trades above the threshold require manual MPC Vault approval.- Request
- Response
string
required
The maximum USD equivalent trade value that will be automatically signed. Trades above this value require manual approval. For example,
"10000" means trades worth up to $10,000 USD are auto-signed.Get Auto-Signing Status
Retrieve the current auto-signing configuration alongside today’s signing statistics, including how many trades were auto-signed, how many fell back to manual approval, and average execution time.- Request
- Response
Get Auto-Signing Stats
Retrieve daily auto-signing statistics over a rolling window of days, along with aggregate totals across the entire period. Use this endpoint to audit signing activity or troubleshoot threshold configuration.- Request
- Response
number
Number of days to include in the statistics window. Defaults to
7 if omitted.