This guide walks you through the complete sequence for your first SpherePay integration: create a customer, register a bank account and wallet, then execute an on-ramp transfer. By the end, you’ll have issued real API calls against every core resource in the SpherePay model. All requests go to the base URL:Documentation Index
Fetch the complete documentation index at: https://docs.spherepay.co/llms.txt
Use this file to discover all available pages before exploring further.
https://api.spherepay.co/
Prerequisites
- You have an API key. If not, see Authentication.
- You understand the integration model. If not, read How it works first.
Create a customer
Create an individual customer by sending a A successful response returns the newly created customer object with a system-generated
POST request to /v2/customer. Include the customer’s contact details and tax identification information.id and a verificationProfiles array showing the KYC status as incomplete:The customer must complete KYC verification and reach an
approved status before you can create a transfer on their behalf. Onboarding is a hard prerequisite for all transfers. See the Individual KYC Flow or Business KYB Flow for next steps.Register a bank account
Once your customer is KYC-approved, register the bank account that will serve as the fiat source for an on-ramp transfer. Send a A successful response returns the bank account object with a system-generated
POST request to /v2/bank-account with the customer ID and account details.id:Register a wallet
Register the crypto wallet that will serve as the destination for the on-ramp transfer. Send a A successful response returns the wallet object with a system-generated
POST request to /v2/wallet with the customer ID and wallet details.id:Create an on-ramp transfer
With a verified customer, a bank account, and a wallet all registered, you can now create an on-ramp transfer. Specify the bank account as the A successful response returns the transfer object. The initial
source and the wallet as the destination.status will be pendingFunding while SpherePay waits for funds:Track transfer status
Poll the transfer status by sending a The response returns the transfer object with an updated
GET request to /v2/transfer/{id} using the id returned in the previous step.status field. A transfer moves through pendingFunding → fundsReceived → processing → succeeded (or failed if an error occurs). See Transfer Lifecycle for all possible statuses and their meanings.
