# Payments

Payments store information about payments and transactions related to a spending account, or those that occur in a 3rd party payment provider.

## List payments

 - [GET /orders/{direction}/{orderID}/payments](https://api-docs.sitecore.com/ordercloud/payments/payments.list.md)

## Create a payment

 - [POST /orders/{direction}/{orderID}/payments](https://api-docs.sitecore.com/ordercloud/payments/payments.create.md)

## Retrieve a payment

 - [GET /orders/{direction}/{orderID}/payments/{paymentID}](https://api-docs.sitecore.com/ordercloud/payments/payments.get.md)

## Delete a payment

 - [DELETE /orders/{direction}/{orderID}/payments/{paymentID}](https://api-docs.sitecore.com/ordercloud/payments/payments.delete.md)

## Partially update a payment

 - [PATCH /orders/{direction}/{orderID}/payments/{paymentID}](https://api-docs.sitecore.com/ordercloud/payments/payments.patch.md): PUT is not a supported method for payments due to the implications associated with modifying certain properties. Patch is only permitted on certain properties that vary depending on order status

## Create a payment transaction

 - [POST /orders/{direction}/{orderID}/payments/{paymentID}/transactions](https://api-docs.sitecore.com/ordercloud/payments/payments.createtransaction.md)

## Delete a payment transaction

 - [DELETE /orders/{direction}/{orderID}/payments/{paymentID}/transactions/{transactionID}](https://api-docs.sitecore.com/ordercloud/payments/payments.deletetransaction.md)

