Skip to main content

Add Card

POST 

/api/v2/consumer_portal/profile/cards

Add a new card by processing a 1 riyal verification transaction.

This endpoint:

  1. Fetches and validates the Moyasar payment transaction
  2. Extracts card details from the payment response
  3. Creates card token record with organization consumer ID
  4. Voids the 1 riyal verification amount
  5. Returns the new card ID

Request

Responses

Successful Response