Wallets
POST/v1/spending-wallets/{id}/refresh

Refresh spending wallet

View as .md
curl -X POST "https://api.52-28-238-205.sslip.io/v1/spending-wallets/{id}/refresh" \  -H "Cookie: <console session cookie>"

Reads the wallet's on-chain balance and marks it funded or empty. Console session or API key with payment:read.

Server URLhttps://api.52-28-238-205.sslip.io
POST/v1/spending-wallets/{id}/refreshBase URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
Path
  • idstringrequired

    Spending wallet id (swl_...).

Requires permissionpayment:read
Held by owner, admin, finance, approver (own team), developer, merchant_owner, merchant_developer, operator. The caller must hold this permission, or the call is refused with 403.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Path Parameters

id*Id

Spending wallet id (swl_...).

Response Body

Success.

application/json
  1. response
wallet*
funding*
[key: string]?any