Tried to create a card using a payment_id as a source. Errow said ‘source had expired’ – NO PROBLEM – payment was several days old and I trying to do this manually.
BUT how long before a payment id expires?
Tried to create a card using a payment_id as a source. Errow said ‘source had expired’ – NO PROBLEM – payment was several days old and I trying to do this manually.
BUT how long before a payment id expires?
I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:
Use a Gift Card (Orders and Payments Integration)
Cards API Guide: Manage Card on File Declines | Square
Card Payments
If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.
I believe that a payment_id
is valid for saving a card on file for 24 hours from the time of the payment.