Partially update a spending account.
PATCH
/buyers/{buyerID}/spendingaccounts/{spendingAccountID}
200Roles
At least one of the roles below is required to access this endpoint.
FullAccessSpendingAccountAdmin
Parameters
Name | Type | Description | Possible Values | |
---|---|---|---|---|
buyerID | Required | string | ID of the buyer. | --- |
spendingAccountID | Required | string | ID of the spending account. | --- |
Request Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
Name | string | --- | 100 characters | --- | ||
Balance | number | float | --- | --- | ||
AllowAsPaymentMethod | boolean | --- | --- | --- | ||
StartDate | string | date-time | --- | --- | ||
EndDate | string | date-time | --- | --- | ||
xp | object | --- | --- | --- |
Response Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
Name | string | --- | 100 characters | --- | ||
Balance | number | float | --- | --- | ||
AllowAsPaymentMethod | boolean | --- | --- | --- | ||
StartDate | string | date-time | --- | --- | ||
EndDate | string | date-time | --- | --- | ||
xp | object | --- | --- | --- |