User Cards
Fetch Cards
This endpoint retrieves a list of cards saved by the customer. The response includes details such as the card's masked number, card type, and expiration date. By using this endpoint, you can provide the customer with an overview of their saved cards for future payments.
Choose between sandbox and production. Select sandbox to retrieve cards created for test Payment Gateway MIDs, or production to fetch real cards used in live transactions.
sandbox- Sandboxproduction- Production
Retrieve cards associated with a specific customer using their unique customer_id.
Retrieve the card associated with a specific agreement ID. When this parameter is provided, the resulting array will contain a maximum of one entry, representing the latest card the customer has used for the auto-debit payment associated with the given agreement ID.
Represents token details, only if the user pays with a tokenized card, Ottu will include the token details in the response.
The card brand (e.g., Visa, Mastercard) associated with the card. Display this information for customer reference.
The unique identifier for the customer who owns the card
Specifies if the card requires the submission of a CVV for transactions. A card without CVV requirement can be used for auto-debit or recurring payments.
The card's expiration month. Provide this information for transaction processing and validation.
The card's expiration year. Provide this information for transaction processing and validation.
A boolean field indicating whether the card has expired. Use this information to determine if the card is valid for transactions and to notify the customer if necessary.
Indicates if the card is the customer's preferred payment option. Order cards with this attribute set to true at the top of the list for easy access.
The cardholder's name as it appears on the card. Display this information for customer verification.
The masked card number to be displayed, ensuring customer privacy and security while providing essential information.
The pg_code associated with the card's creation.
The unique token associated with the card, required for tokenized card payments. Use this value to securely process transactions.
Delete Card
This endpoint allows you to delete a customer's saved card from the system. Provide the unique card identifier to remove the card from the customer's saved cards list. This action can help maintain up-to-date card information and ensure that customers do not accidentally use expired or unwanted cards for payments.
The unique token associated with the card to be deleted.
Retrieve cards associated with a specific customer using their unique customer_id.
Choose between sandbox and production. Select sandbox to retrieve cards created for test Payment Gateway MIDs, or production to fetch real cards used in live transactions.
sandbox- Sandbox *production- Production
No Content
No content
Last updated