API ReferenceWallets
Retrieve a wallet
GET /v1/wallets/{id} : fetch a wallet's balance, available funds, and holds.
GET /v1/wallets/{id}
Headers
| Header | Required | Value |
|---|---|---|
Authorization | yes | Bearer sk_... |
Path params
| Param | Type | Notes |
|---|---|---|
id | string | Wallet ULID |
Request
curl https://api.ouipay.com/v1/wallets/01M2S17... \
-H "Authorization: Bearer sk_test_..."Response 200
Returns the wallet object.
Errors
| HTTP | error.code | Cause |
|---|---|---|
| 404 | NOT_FOUND | No such wallet |
| 403 | FORBIDDEN | Not your resource |