The POST /api/subProfiles/detachFromPaymentCard API method allows you to detach a payment card from a specific authorized user profile within a banking application. By invoking this endpoint, you effectively remove the association between the authorized user and the designated payment card, thereby preventing the authorized user from conducting any further transactions using that card.
Response
Upon successful execution, the API will return a confirmation message indicating that the card has been successfully detached. If there are any errors (such as invalid authorized user ID or payment card details), an error message will be returned.
Usage
This endpoint is essential for managing and controlling payment card access among authorized users, ensuring that only authorized profiles have the ability to use the card for transactions.