---
title: "Removes an order payment base from an in progress order base"
method: DELETE
path: "/ocapi/v1/orders/{orderId}/payments/{paymentId}"
tags: ["Orders", "Payments"]
---

# Removes an order payment base from an in progress order base

`DELETE /ocapi/v1/orders/{orderId}/payments/{paymentId}`

## Request

- Base URL: `https://developer.vista.co` (the document declares no server; this is the origin it was published from)
- URL: `https://developer.vista.co/ocapi/v1/orders/{orderId}/payments/{paymentId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/vista/apis/vista-digital-platform/docs/ocapi/v1/orders/:orderId/payments/:paymentId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Only order gift card payment and order member balance payment entities can be removed at this time.

#### Licenses Required


- Vista.Ocapi

## Path parameters

- `orderId` string, required
- `paymentId` string, required

## Headers

- `Connect-Region-Code` string

## Response `204`

Payment removed.

## Other responses

- `400`: Payment cannot be removed.

---

[API](https://skmtc.dev/vista/apis/vista-digital-platform.md) - [All operations](https://skmtc.dev/vista/apis/vista-digital-platform/llms.txt) - [OpenAPI document](https://skmtc.dev/vista/apis/vista-digital-platform/revisions/c46f30854000?raw)
