What a customer stores
| Field | Description |
|---|---|
id | Public ID (cus_...) |
email | Contact email |
name | Display name |
primary_stellar_address | Main Stellar wallet for this payer |
notes | Internal merchant notes |
metadata | Custom key-value pairs |
Manual creation
Create a customer from the dashboard or API before sending a payment:Link a customer to a payment
When creating a payment, passcustomer_id to pre-link the checkout:
Customer to a PaymentIntent.
Auto-create from checkout
If you do not passcustomer_id, Payoes still links payers automatically:
- Customer completes hosted checkout
- Payoes verifies the transaction on Horizon
- Payoes reads the payer wallet (
fromaddress) - Payoes creates or updates a customer for that wallet
- The payment is linked to that customer
Payment fields
Completed payments include:| Field | Description |
|---|---|
customer_id | Linked customer public ID |
payer_address | Wallet that signed the Stellar transaction |
payment.completed include both fields.
Retrieve customer history
What customers are not
- Not login accounts for your dashboard
- Not custodial wallets (Payoes never holds private keys)
- Not saved payment methods that can charge without wallet approval
Next steps
Quickstart
Create a payment and complete checkout.
Webhooks
React to payment.completed events.