#ferdinand

1 messages · Page 1 of 1 (latest)

old lodgeBOT
civic jacinth
#

Hi there
Could you please share the topup Id ?

cerulean grove
neon sapphire
#

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?

cerulean grove
#

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...

neon sapphire
#

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

cerulean grove
#

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?

neon sapphire
#

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

cerulean grove
#

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?

neon sapphire
#

No, you're just looking at the object

#

Once its done then no, you'd need to create a payout at that point

cerulean grove
#

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?

neon sapphire
#

No effect, you're just inspecting an existing object

cerulean grove
#

understand

#

ok thank you for your help.

neon sapphire
#

NP!