# Payments

URL: /bengal/api/bengal-demo-commerce/tags/payments/
Section: payments

---

> For a complete page index, fetch /bengal/llms.txt.

Resource group

# Payments

1 endpoints

## Endpoints

Method
Endpoint
Description

POST

`/orders/{orderId}/payments`
(/bengal/api/bengal-demo-commerce/tags/payments/post-orders-{orderId}-payments/)

Capture payment for an order

POST
`/orders/{orderId}/payments`

## Capture payment for an order

### Parameters

####
Path

`orderId`
string

requiredpath

## Request Body

requiredapplication/json

`amount`
object

required

`amount`
object

`currency`
string

`amount`
integer

Amount in minor units

`method`
any

required

`capture`
boolean

Default:
`True`

## Responses

`201`

Payment captured

Content-Type:
`application/json`

`amount`
object

required

`amount`
object

`currency`
string

`amount`
integer

Amount in minor units

`method`
any

required

`capture`
boolean

Default:
`True`

`402`

Payment required

Content-Type:
`application/json`

`amount`
object

required

`amount`
object

`currency`
string

`amount`
integer

Amount in minor units

`method`
any

required

`capture`
boolean

Default:
`True`
