Add a Contact
Contacts represent your customers in WickiePay. Associate wallet addresses and payment instruments with customer records for compliance and tracking.
Create a Contact
POST /api/contacts
{
"firstName": "John",
"lastName": "Doe",
"email": "john@example.com",
"externalId": "your-customer-id-123",
"type": "INDIVIDUAL"
}
Add a Payment Instrument
Associate a wallet address with a contact:
POST /api/contacts/{contactId}/instruments
{
"type": "CRYPTO_WALLET",
"address": "0xCUSTOMER...WALLET",
"network": "ETHEREUM",
"label": "John's main wallet"
}
Use Contacts with Payments
When creating payments, you can associate them with a contact for Travel Rule compliance and record-keeping:
{
"complianceDetails": {
"beneficiary": {
"name": "John Doe",
"accountNumber": "0xCUSTOMER...WALLET",
"country": "DE"
}
}
}
Manage Contacts
| Action | API |
|---|---|
| Get contact | GET /api/contacts/{id} |
| Update contact | PUT /api/contacts/{id} |
| List instruments | GET /api/contacts/{id}/instruments |
| Update instrument | PUT /api/contacts/{id}/instruments/{instrumentId} |
| Remove instrument | DELETE /api/contacts/{id}/instruments/{instrumentId} |
Next Steps
- Contacts API — Full API reference
- KYC / KYB — Customer verification