Ripple: List of currency issuer addresses - ripple

I'd like to set up trust lines on my ripple account for several currencies including BTC, ETH, ETC, DSH, BCH, XLM, etc.
Where is the master list of issuers per currency?
So far I've only been able to establish a trust line on BTC from Bitstamp, because their address was public: https://www.bitstamp.net/ripple.txt

Found a list from February 2018:
https://www.xrpchat.com/topic/19176-current-active-gateways-on-xrp-ledger/

There is now a token list available here:
https://xrpl.services/tokens
and as API:
https://api.xrpldata.com/api/v1/tokens
the API is refreshed every ~30 minutes

Related

What is the Web Service Endpoint for the 'Close Financial Periods' screen (AP506000)?

What is the Web Service Endpoint for the 'Close Financial Periods' screen (AP506000)? I can't seem to find it (or anything similar) in the list of endpoints. I need to select the oldest open period from the list of periods displayed on that screen.
Also - what's the best way to determine the name of the endpoint for a given screen, other than just looking for a similar name as the screen itself in the list of endpoints?
Thanks...
For the oldest open period, I would create a generic inquiry for the PX.Objects.GL.FinPeriods.MasterFinPeriod table. You can see ClosedInAP, ClosedInAr, etc. From there, you could make a filter to show only open periods, sorted ascending. Once you have it worked out, you could expose it to odata, or even extend your web service endpoint to get the data out.
Here is an example of periods that are not closed in AP, but closed in AR (and unclosed).

Get last 4 digits of card Stripe Checkout

I am using Stripe Checkout to process orders on my site and then save the order once its complete using the webhook Checkout.Session.Complete . It works all well and good but I would like to store the last 4 digits used to process the order. If I send a receipt using Stripe it lists that info so I know its possible, I just prefer to store it and send my own receipt to customize and assist customers if an order is off. The checkout session object doesnt list the last 4 digits for some reason so whats the best way to get that info based on what the session object returns???
The answer will depend on the type of Checkout Session you are working with.
If you are working with Checkout Sessions where mode:payment, then you should expand payment_intent.payment_method when you retrieve the Session. Then, you can check payment_intent.payment_method.card.last4 to get the last 4 digits.
If you are working with Checkout Sessions where mode:subscription, then you should expand subscription.default_payment_method when you retrieve the Session. Then, you can check subscription.default_payment_method.card.last4.
If you're not already familiar with expansion, you can read more about it here (https://stripe.com/docs/expand).

how to get destination info(bank and card details) on stripe

Let's say I'm getting payouts information https://stripe.com/docs/api/payouts/list
I want to get the destination info, so if we take the example from the docs:
I want the details from that destination, I don't mean the specific details like the exact credit card number, but the info when going on the page itself, this one:
It's not working listing the banks accounts https://stripe.com/docs/api/customer_bank_accounts/list , I'm getting zero results when list them all
I'm using Golang library but I think this solution can be solved by others programming languages
I'm also using expandable fields but I get blank results on bank_account and card details
what is interesting however, is when debugging the page, they make request to v1/payouts/{id} with expand[]: balance_transaction and the returned data contains the bank information, but when I do it with their API, that info is not returned back
The Payout destination is expandable, meaning you can have it replaced with the full object by sending you request with expand[]=destination or for a list command data.destination.

Stripe: Get card information so customer can update their card

My app uses subscriptions with Stripe.
I want to create a standard "account" page, which will list the customer's current card information (like "MasterCard" and last 4 of card number), and give the customer the option of updating that information.
I'm stuck on the first piece--getting back the current card information. To do this, I need the current card_id. I have tried the "listSources" method, but this returns blank data where the card info is supposed to be. What do I need to do to get that card info?
Here is what I've tried:
(I'm using Node, and running this server side)
The closest method I have found is here:
var stripe = require('stripe')(STRIPE_TOKEN);
stripe.customers.listSources(
CUSTOMER_ID,
{object: 'bank_account', limit: 3},
function(err, cards) {
// asynchronously called
}
);
This returns information (there's no error), but the docs say this method should return a data array of the cards that includes the card id for each. In testing, the data array keeps coming back empty.
I am testing with a customer id that has a valid subscription and a card that I can see on my Stripe dashboard.
Why is the data array coming back empty?
Note: there's also a retrieve source method, which should give back card details, but this method requires you have the id of the card you want info on, and that's what I am not able to get right now.
Converting this to an answer...
Stripe has recently rolled out PaymentMethods, which replace (and are separate from) the older Tokens and Sources API.
OP's issue is that their integration creates PaymentMethod objects, which won't show up in the sources list, but can instead be accessed via stripe.paymentMethods.list.

Retrieve resource working hours from Project Server via PSI

I'm working with SharePoint and ProjectServer 2007 via PSI.
I need to retrieve the working hours of an employee in a project during a date range but I can't find a way to do it. The closest data I've gotten is the RES_ACT_WORK from Project.ReadProject(), but this is a total value.
Any ideas?
Finally I've found the way to retrieve it!!!
Statusing.ReadStatusTimephasedData
Edit:
This method return the statusing data for the currently logged user. If the user is the project owner, it will get the data for every assigned resource. Otherwise, only the user's data will be returned.
In order to retrieve the whole of the data (every project and every resource), the [PSI impersonation][2] must be used.
But that is not possible in my case, so I am developing a [PSI extension][3] to expose the information I need and [custom permission][4] to control access to it.
[2]: http://msdn.microsoft.com/en-us/library/aa974347(office.12).aspx
[3]: http://msdn.microsoft.com/en-us/library/bb428837(office.12).aspx
[4]: http://msdn.microsoft.com/en-us/library/aa974255(v=office.12).aspx
NB: I cannot post more than one link yet :P

Resources