post https://withpaper.com/api/2022-08-12/transaction-hold/
Use this endpoint to complete an existing transaction with a credit card hold.
Holds expire after 6 days
Any attempts to capture a transaction hold after this time period will fail.
Use cases
- Let users bid for an NFT auction via fiat and charge them only if they are the top bidder when the auction ends.
- Allow a buyer to pre-order an NFT via fiat and charging them only when the sale period begins.
Creating a transaction hold
When creating a Checkout Element pass in
capturePaymentLayer: true
to create a checkout that holds the card.The buyer won't be charged and the NFT won't be claimed until you make a second API call to capture the payment.