GET
/
payment-groups
/
{id}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Query Parameters

expand
string[]

Fields to expand related entities. For example, ["organization"].

take
number

Maximum number of items to retrieve. Default is 25.

skip
number

Number of items to skip before starting to collect the result set.

orderBy
string

Field to order the results by, followed by ":asc" or ":desc". For example, "createdAt:desc".

search
string

Search term to filter the results. Supports multiple terms with "~" for partial matches.

Query parameters for additional filtering, sorting, and expansion.

Response

200 - application/json
customerId
string
required

The ID of the customer. This field is required and must be a valid customer ID.

paymentIntentId
string
required

The ID of the payment intent associated with this payment group. This field is required and must be a valid payment intent ID.

metadata
object

Additional metadata for the payment group. This can include any additional information needed to process the payment group.

expiresAt
string

The expiration date and time of the payment group. Must be between the minimum and maximum payment group duration.

midExpireAt
string

The midpoint date and time of the payment group for reminder purposes. Must be before the expiration date.