The customer reference is not the enrollment link's reference

Description

A request made with a session token from a personal enrollment link sent no customerReferenceId, or one other than the customerReferenceId the link was created with. Every card enrolled through a personal link carries the link's reference. POST /card-subscriptions answers 403 before anything is created.

{
  "detail": "customerReferenceId is not the reference of the enrollment link",
  "title": "Forbidden",
  "type": "https://docs.astrada.co/reference/errors-session_reference_mismatch",
  "errorCode": "card_subscription.session_reference_mismatch"
}

How to solve

Send the customerReferenceId the personal link was created with. Astrada's hosted enrollment page does this for you. To enroll a card under another reference, create a personal link for it with POST /enrollment-links.