Karma Common API
number · requiredstringstringstring · enum
Self-service card enrollment
POST
https://common-api.karma.life
/api/v1/loyalty/self-service-enroll
Link a payment card to a user account via self-service. Supports two modes: (1) QR flow with enrollment token, (2) confirmation page flow with purchaseIntentId + userId.
Self-service card enrollment › Request Body
userIdGuest user ID (passed in body — API key auth has no guest identity)
tokenJWT enrollment token (QR flow). Mutually exclusive with purchaseIntentId.
purchaseIntentIdPurchase intent ID (confirmation page flow). Mutually exclusive with token.
Self-service card enrollment › Responses
Default Response
statusEnum values:
success
object
object