#incredible_panda_28452
1 messages · Page 1 of 1 (latest)
For separate authorisation and capture, the authorisation will be held for 7 days for online payment: https://stripe.com/docs/payments/place-a-hold-on-a-payment-method#auth-capture-limitations
Does that mean that if you try to deduct after 7 days, you fail to deduct
Does this 7 days count from the moment I authorize it
The authorisation will be canceled after 7 days if your system doesn't capture it
The 7 days authorisation starts from the time when the payment is succeeded
So what API should we call before deducting to check whether it can be deducted? Is there an API that will not be cancelled?
If the authorisation is canceled, payment_intent.canceled event will be sent. Alternatively, you can make a Payment Intent Retrieval request to check if the payment intent has been canceled
Is there an API that will not be cancelled?
What is the use case here?
No, I just confirmed the expiration time of this pre-authorization, and it has not been officially accessed yet.
May I ask how we can access stripe in the test environment of apple Clips
Stripe doesn't surface the expiration timestamp of the authorisation, but you can use the Payment Intent Retrieval to check if the authorisation has been canceled
Payment Intent Retrieval?What API is that?
This is the API for Payment Intent Retrieval: https://stripe.com/docs/api/payment_intents/retrieve
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Okay, so this one just needs to be returned correctly so you can deduct again? Or by which field is returned?
If the status in requires_capture, this means that the authorisation hasn't expired and can still be capture
If the status is canceled, this means authorisation has expired and can't be captured
status: https://stripe.com/docs/api/payment_intents/object#payment_intent_object-status
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ok. tks