Sitecore OrderCloud Documentation

docs

Portal login

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.

get

v1/buyers/{buyerID}/spendingaccounts

SpendingAccounts.Create

Create a new spending account.

post

v1/buyers/{buyerID}/spendingaccounts

SpendingAccounts.ListAssignments

Get a list of spending account assignments.

get

v1/buyers/{buyerID}/spendingaccounts/assignments

SpendingAccounts.SaveAssignment

Create or update a spending account assignment.

post

v1/buyers/{buyerID}/spendingaccounts/assignments

SpendingAccounts.Get

Get a single spending account.

get

v1/buyers/{buyerID}/spendingaccounts/{spendingAccountID}

SpendingAccounts.Save

Create or update a spending account.

put

v1/buyers/{buyerID}/spendingaccounts/{spendingAccountID}

SpendingAccounts.Delete

Delete a spending account.

delete

v1/buyers/{buyerID}/spendingaccounts/{spendingAccountID}

SpendingAccounts.Patch

Partially update a spending account.

patch

v1/buyers/{buyerID}/spendingaccounts/{spendingAccountID}

SpendingAccounts.DeleteAssignment

Delete a spending account assignment.

delete

v1/buyers/{buyerID}/spendingaccounts/{spendingAccountID}/assignments

Sitecore Logo

© Copyright 2024, Sitecore OrderCloud®. All rights reserved.

Contact Us
Privacy Policy
Sitecore