---
title: "Use payment for all"
method: POST
path: "/payments/{payment_id}/use_for_all/"
---

# Use payment for all

`POST /payments/{payment_id}/use_for_all/`

## Request

- Base URL: `https://restapi.ordergroove.com`
- URL: `https://restapi.ordergroove.com/payments/{payment_id}/use_for_all/`
- Auth: one of:
  - none
  - API key in header `x-api-key`

Associates provided payment to all orders and subscriptions of a customer.

## Path parameters

- `payment_id` string, required

## Response `200`

200

## Other responses

- `400`: 400
- `403`: 403
- `404`: 404

---

[API](https://skmtc.dev/ordergroove/apis/ordergroove-restrpc.md) - [All operations](https://skmtc.dev/ordergroove/apis/ordergroove-restrpc/llms.txt) - [OpenAPI document](https://skmtc.dev/ordergroove/apis/ordergroove-restrpc/revisions/ba97e740d08c?raw)
