E-Ticaret

wallet

4 endpoints · /api/shop/v1/wallet

Request examples are generated from each endpoint's REAL method and path. 4 endpoints have no hand-verified body example yet; their skeleton has no body — we do not invent field names.

GET/api/shop/v1/admin/wallet/dormancy

Admin: cüzdan dormancy-expiry config (gün eşiği). null = kapalı.

Oturum
İstek
curl -X GET "https://{slug}.shop.blesyum.app/api/shop/v1/admin/wallet/dormancy" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
PUT/api/shop/v1/admin/wallet/dormancy

Dormancy set

Oturum
İstek
curl -X PUT "https://{slug}.shop.blesyum.app/api/shop/v1/admin/wallet/dormancy" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
GET/api/shop/v1/admin/wallet/liability

Admin: hediye-kartı yükümlülük raporu (BLE-8915) — outstanding + breakage, currency başına.

Oturum
İstek
curl -X GET "https://{slug}.shop.blesyum.app/api/shop/v1/admin/wallet/liability" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
POST/api/shop/v1/storefront/wallet/authorize

Storefront: cüzdan-ödeme yetkilendir → tokenized ref (express-checkout ödeme external_ref seam).

Oturum
İstek
curl -X POST "https://{slug}.shop.blesyum.app/api/shop/v1/storefront/wallet/authorize" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
Bu sayfa işine yaradı mı?