close credit wallet
PATCH https://api.suger.cloud/org/{orgId}/buyer/{buyerId}/wallet/{walletId}/close
Close the given credit wallet, if it's a payment method, sync to payment provider too. Once closed, it can't be used for payment.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
orgId | path | string | yes | Organization ID |
buyerId | path | string | yes | Buyer ID |
walletId | path | string | yes | Wallet ID |
Responses
200 — OK
Content-Type: application/json · Schema: BillingWallet
400 — Bad request error
Content-Type: application/json
500 — Internal server error
Content-Type: application/json