Skip to main content
The wallet endpoint manages the merchant’s payout wallet. GET returns the currently configured wallet, and PATCH switches the payout wallet back to a freshly provisioned Circle-managed wallet. Switching to an external wallet (MetaMask, WalletConnect, Coinbase) is not handled here — it requires the signed SIWE flow at GET/POST /api/merchant/wallet/connect.

Endpoint

Request

Headers

Both verbs are browser/dashboard routes authenticated by the merchant_token cookie set at login.

GET

No body or query parameters.

PATCH Body Parameters

string
required
Must be "CIRCLE". This endpoint only switches back to a Circle-managed wallet; any other value is rejected with HTTP 400.

Response

GET — Success

boolean
true on success.
object
The merchant’s current payout wallet.

PATCH — Success

boolean
true on success.
string
"A new Circle-managed wallet has been created for your payouts."
object
The newly created wallet.

Examples

GET — Success Response

PATCH — Success Response

Error Responses

Notes

PATCH provisions a brand-new Circle wallet. If you previously had a Circle wallet, switched away, and switch back, the old wallet is not restored — its wallet ID was overwritten when you switched away, so it is not recoverable through this flow.
Switching your payout wallet redirects where settlements land. Only call PATCH when you are ready for future payouts to go to the newly created Circle-managed address.