Endpoint
Description
Use this endpoint to add a payment method to a wallet that has already been created. Once a payment method is added, the wallet can be funded or used for payouts through the specified channel.Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string (UUID) | Yes | The unique identifier of the wallet |
Request Body
Request Fields
| Field | Type | Required | Description |
|---|---|---|---|
type | string | Yes | The type of payment method to add |
Supported Payment Method Types
| Type | Description |
|---|---|
bank_account | Links a bank account to the wallet for funding or payouts |
Additional payment method types may be supported depending on your integration and region.
Response
Success Response (200 OK)
Response Fields
| Field | Type | Description |
|---|---|---|
id | string | The wallet ID |
status | string | Current wallet status (active, inactive, etc.) |
payment_methods | array | List of payment methods linked to the wallet |
balance.amount | number | Wallet balance amount |
balance.currency | string | Wallet currency |
The payment_methods array may initially be empty if additional verification or setup is required before activation.
Example cURL Request
Common Errors
| Status Code | Reason |
|---|---|
400 | Invalid request body |
401 | Unauthorized request |
404 | Wallet not found |
422 | Unsupported or invalid payment method type |
Notes & Best Practices
- Ensure the wallet exists and is active before adding a payment method.
- Some payment methods may require additional verification steps before they become usable.
- Always store and reference the wallet ID securely.
- Use sandbox mode to test payment method creation before moving to production.
Next Steps
After successfully adding a payment method, you can:- Fund the wallet
- Initiate payouts
- Retrieve wallet details
- Monitor wallet activity via webhooks