Spending Accounts
Spending Accounts are funds given to users by a managing entity and are managed as part of a user's account. These funds are generally used as "corporate dollars", "rewards dollars", or "gift cards". They can be used to pay for all of or part of an order with parameters that control account expiration, balance available, balance renewal, user access and overdraft. Multiple spending accounts can be assigned to a member of an organization and applied to all transactions, but only one can be used as a payment method. When multiple Spending Accounts are used on a transaction each is deducted individually.
SpendingAccounts.List
Get a list of spending accounts.
v1/buyers/{buyerID}/spendingaccounts
SpendingAccounts.Create
Create a new spending account.
v1/buyers/{buyerID}/spendingaccounts
SpendingAccounts.ListAssignments
Get a list of spending account assignments.
v1/buyers/{buyerID}/spendingaccounts/assignments
SpendingAccounts.SaveAssignment
Create or update a spending account assignment.
v1/buyers/{buyerID}/spendingaccounts/assignments
SpendingAccounts.Get
Get a single spending account.
v1/buyers/{buyerID}/spendingaccounts/{spendingAccountID}
SpendingAccounts.Save
Create or update a spending account.
v1/buyers/{buyerID}/spendingaccounts/{spendingAccountID}
SpendingAccounts.Delete
Delete a spending account.
v1/buyers/{buyerID}/spendingaccounts/{spendingAccountID}
SpendingAccounts.Patch
Partially update a spending account.
v1/buyers/{buyerID}/spendingaccounts/{spendingAccountID}
SpendingAccounts.DeleteAssignment
Delete a spending account assignment.
v1/buyers/{buyerID}/spendingaccounts/{spendingAccountID}/assignments