set buyer default wallet
PATCH https://api.suger.cloud/org/{orgId}/buyer/{buyerId}/wallet/{walletId}/default
set a payment method wallet as buyer's default wallet.
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: IdentityBuyer
400 — Bad request error
Content-Type: application/json
500 — Internal server error
Content-Type: application/json