#soma-currencies

1 messages · Page 1 of 1 (latest)

slate anchor
obtuse sedge
#

so, they must be hardcoded?

slate anchor
#

Yeah if you need them, what's the use-case here?

obtuse sedge
#

allowing the user to filter the transactions by currency

slate anchor
#

Okay that's different

#

The above is presentment currency

#

But funds will only settle in the settlement currency for the account

#

So that is the only currency that they will be able to filter by

obtuse sedge
#

isn't it?

slate anchor
#

Yes sure, but you would only need the currency options for the settlement currencies that your Connected Accounts support

obtuse sedge
#

and how can I get those programmatically?

slate anchor
#

I assume this is for Custom Connect, right?

obtuse sedge
#

yes

slate anchor
#

That will be the settlement currency for the account

#

Then you show balance transactions in that currency

obtuse sedge
#

understood

#

thanks

slate anchor
#

Sure!

obtuse sedge
#

oh, one more thing is disturbing me

#

for filtering transactions by created... I am assuming that for a specific date I need to pass a {created :{gte: 0000, lte: 0000}}

slate anchor
#

Yep it is all by unix timestamp

#

So yeah if you set two timestamps then it will retrieve the data between those

obtuse sedge
#

in seconds, no miliseconds

slate anchor
obtuse sedge
#

ok, sorry I've been bothering you

#

you have been very helpful

#

thank you

slate anchor
#

No bother at all!

#

We are here to help

#

Let me know if you have any further questions