We will save the card while making a purchase there is a possibility we have to make the payment again. In this case, we want to restrict the prepaid card payments
If you use
autocomplete=false, you can authorize the card without capturing it just yet. In the response there will be a
Payment object, which will have a
card object, which has a
prepaid_type field (currently can be set to “UNKNOWN_PREPAID_TYPE”, “NOT_PREPAID”, or “PREPAID”). Thus, if you see the card is “PREPAID”, you can simply cancel the payment if you do not want to charge prepaid cards.
How can we edit this or how do we change it
Can you clarify what you mean @Flix091? What are you trying to change or edit?