#ferdinand
1 messages · Page 1 of 1 (latest)
Hi there
Could you please share the topup Id ?
hi @civic jacinth here is my tested ID tu_1M54QzJsUSqCav3DyMJ6JOcK
my expectation from this API will retrieve that previous topup back to my bank account
Can you explain to me what you're trying to do?
hi @neon sapphire yes..
first i run create topups function with topup amount $2000... and it success to increace my balance from $4000 to $6000. then i try to test retreive topups function with ID that i got from create topups. i got response status "succeeded" but when i look my balance amount.. it still $6000...
it still $6000
did you mean 4000 here? 6000 was your goal with the test, right? That seems expected
To be clear, retrieving an existing top up is not going to have any change to your account, its just information
Only another topup creation might do that
yes. my actual balance before was $4000. so i test the topup API with amount $2000. it increace become $6000...
Retrieve function just only information? sorry, i don't understand.
so we can't just retrieve back $2000 into bank account?
Are you expecting your balance to change again when you retrieve the Top Up object?
"retrieve" means retrieve the Stripe API object from the API
There is not balance change, or any other change, expected as a result of a retrieval
oooww.
about no balance change i understand. but i still don't understand about "retrieve the Stripe API object from the API"... if just retrieve the object. what is use for?
we can't do a cancel?
or can't do an update?
No, you're just looking at the object
You can cancel the topup if it is still pending: https://stripe.com/docs/api/topups/cancel
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Once its done then no, you'd need to create a payout at that point
i just compare the object from craete topup function and retrieve topup function. both same
if retrieve the stripe API object from the API.. what will effect on this?
No effect, you're just inspecting an existing object
NP!