Lists payment method shares for a payment method. Beta

GET /2026-2/payment-methods/{paymentMethodId}/shares

Retrieves all payment method shares for the given payment method that the authenticated user has created.

Path parameters

  • paymentMethodId string(uuid) Required

    The ID of the payment method to list shares for.

Responses

  • 200 application/json

    The list of payment method shares for this payment method.

    Hide response attribute Show response attribute object
    • data array[object] Required

      A list of payment method shares.

      Hide data attributes Show data attributes object
      • createdAt string(date-time) Required

        The date and time when the payment method share was created.

      • expiresAt string(date-time) | null Required

        The date and time when the share expires. After this time the share is no longer valid. Omit for no expiration.

      • id string(uuid) Required

        The unique identifier of the payment method share.

      • paymentMethodId string(uuid) Required

        The unique identifier of the payment method that was shared.

      • updatedAt string(date-time) Required

        The date and time when the payment method share was last updated.

      • userId string(uuid) Required

        The unique identifier of the user the payment method is shared with.

  • 401

    Client authentication failed.

  • 403

    Missing one or more required scopes.

  • 404

    The payment method was not found.

  • 500

    An internal server error occurred.

GET /2026-2/payment-methods/{paymentMethodId}/shares
curl \
 --request GET 'https://api.pace.cloud/payment/2026-2/payment-methods/ca1367ed-7e4f-4b1a-9c51-eb2cd14f577c/shares' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": [
    {
      "createdAt": "2023-10-01T12:00:00.000Z",
      "expiresAt": "2025-12-31T23:59:59.000Z",
      "id": "92e5ec38-2a2c-4040-8158-f053b1f45054",
      "paymentMethodId": "45981481-b14d-4075-a8bc-d9626979a3ba",
      "updatedAt": "2023-10-01T12:00:00.000Z",
      "userId": "9d38dbaa-3f65-4453-b6f3-53673bd1a413"
    }
  ]
}