Before you can initiate any transfer, you must create a customer record in SpherePay. This endpoint registers either an individual or a business customer and returns a customer object with a unique ID and aDocumentation Index
Fetch the complete documentation index at: https://docs.spherepay.co/llms.txt
Use this file to discover all available pages before exploring further.
verificationProfiles array that tracks KYC/KYB completion status. You must specify type upfront — it cannot be changed after creation.
Endpoint
Authentication
All requests require a Bearer token in theAuthorization header.
Request body
Individual customer
Customer type. Must be
"individual".Customer email address. Maximum 254 characters. Must be a valid email format.
Customer phone number in E.164 format (e.g.
+14155550123). Must match ^\+(?:[0-9]){6,14}[0-9]$.The customer’s residential address.
Personal information including tax identification details. When any tax identification field is provided, all tax identification fields (
number, type, country) and address are required. See Individual Verification Criteria for the full reference.Optional arbitrary key-value metadata to attach to the customer. Values must be null or a primitive type.
Business customer
Customer type. Must be
"business".Business email address. Maximum 254 characters.
Business phone number in E.164 format.
Array of address objects for the business. Includes a registered address and an operating address.
Business identification and onboarding details. See Business Verification Criteria.
Optional arbitrary key-value metadata.
Response fields
Unique customer identifier, prefixed with
customer_.Customer type:
individual or business.Registered email address.
Registered phone number in E.164 format.
First name (individual customers only).
Last name (individual customers only).
Array of verification profiles tracking KYC/KYB completion status.
Metadata associated with the customer.
ISO 8601 timestamp of when the customer was created.
ISO 8601 timestamp of the most recent update.
Error codes
| Status | Code | Description |
|---|---|---|
400 | address/invalid | The address object contains invalid or missing fields. |
404 | resource/not-found | The referenced resource does not exist. |
422 | validation/failed | One or more fields failed validation. The errors array identifies each failing field. |

