Update an order where existing items are reversed and new items are added.Documentation Index
Fetch the complete documentation index at: https://docs.dintero.com/llms.txt
Use this file to discover all available pages before exploring further.
Create order
- POST /v1/accounts/{aid}/shopping/draft_orders
- PUT /v1/accounts/{aid}/shopping/draft_orders/{id}/complete
Authorize and capture the order
- POST /v1/accounts/{aid}/shopping/orders/{order_id}/authorizations
- POST /v1/accounts/{aid}/shopping/orders/{order_id}/captures
Reverse order item and add new item
Update existing order, removing (reversing) existing item and adding a new item.- POST /v1/accounts/{aid}/shopping/draft_orders
- PUT /v1/accounts/{aid}/shopping/draft_orders/{id}/complete
use related_item to link the item that is being reversed
Authorize and capture reversed item
- POST /v1/accounts/{aid}/shopping/orders/{order_id}/authorizations
- POST /v1/accounts/{aid}/shopping/orders/{order_id}/captures
Authorize and capture the new item
- POST /v1/accounts/{aid}/shopping/orders/{order_id}/authorizations
- POST /v1/accounts/{aid}/shopping/orders/{order_id}/captures
Refund remaining
We recommend that an additional item is included in the draft update if the original authorization is higher than the new items.Authorize and capture the new item + refund line
- POST /v1/accounts/{aid}/shopping/orders/{order_id}/authorizations
- POST /v1/accounts/{aid}/shopping/orders/{order_id}/captures
Refund remaining authorization
Part authorization / captures
We recommend that additional authorization/captures are added to the new item if the original authorization/capture is below the new item amount- POST /v1/accounts/{aid}/shopping/orders/{order_id}/authorizations
- POST /v1/accounts/{aid}/shopping/orders/{order_id}/captures
Support for multiple authorization (same item) is planned for 2021-06-01