Skip to main content
POST
Share an enrolled card with a group as a payment method

Authorizations

Authorization
string
header
required

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

Path Parameters

orgId
string
required
Example:

"org-abc123"

groupId
string
required
Example:

"grp-abc123"

Body

application/json
paymentMethodId
string
required

Id of an org card to share with the group — the card's provider payment-method id (the same id the /payment-methods list, PATCH and revoke use), not the internal row id.

Example:

"pm_1Abc2Def3Ghi4Jkl"

Response

Envelope { success, paymentMethod: GroupPaymentMethodResponseDto }

success
boolean
required
Example:

true

paymentMethod
object
required