API Reference
Technical specifications for the SimulatePay Sandbox API.
POST
Initialize Collection
Creates a new collection transaction and returns a simulated checkout URL.
Parameters
amount number
The amount to collect in the specified currency.
currency string
Default: "USD". Supported: "USD", "EUR", "GBP".
POST
Resolve Account
Verifies an account number and returns the account holder's name.
routing_number string
9-digit USA Routing Number (e.g. 021000021).
account_number string
Account number (Min 8 characters).
extra_data object (optional)
Dynamic fields required by specific banks (e.g. ssn_last_4, zip_code, account_type).
POST
Generate Virtual Account
Creates a dedicated virtual account for customer collections.
email string
Customer email address for dedicated USA virtual account.
name string
Full name of the customer.
Example Request
Node.js
const response = await fetch('https://api.simulatepay.com/v1/collect', {
method: 'POST',
headers: {
'Authorization': 'Bearer sk_test_...',
'Content-Type': 'application/json'
},
body: JSON.stringify({
amount: 100.00,
currency: 'USD'
})
});