Unable to fetch fiat account for coinbase transfers - coinbase-api

I'm trying to initiate withdrawals and deposits but the USD cash account is no longer listed in get accounts results or even when I follow the resource link from the results of payment methods to the fiat resource. I'm able to access the account through my dashboard but when I try to fetch it using the account id from expand resource, it gives me Account not found error.

Related

How to retrieve a customer's payment history with Stripe?

For my react app, I am using the Session object to handle purchases in Stripe, and I am using a Customer object if the user is logged in. I'm having trouble figuring if I'm supposed to use the Payment Intent, Charge, or Balance Transaction object to retrieve a customer's payment history (provided the customer id).
Any advice is appreciated!
You would use the List all PaymentIntents API to get a customer's payment history:
https://stripe.com/docs/api/payment_intents/list
https://stripe.com/docs/api/payment_intents/list#list_payment_intents-customer
By default this will return the last 10 payments that the customer made. But, you can increase that number to 100:
https://stripe.com/docs/api/payment_intents/list#list_payment_intents-limit
If you want to list more than the last 100 payments you would need to use the auto-pagination feature provided by Stripe's libraries:
https://stripe.com/docs/api/pagination/auto
Depending on what information you need to display in your app you could also use the List Charges API. But that resource is being phased out in favor of PaymentIntents so I would look to use PaymentIntents first. The Balance Transactions API is mainly useful for displaying changes to a given Stripe account's balance rather than a given customer's payment history (i.e., tracking all payments, transfers, payouts and refunds on the account as a whole).

Google Cloud billing information verify?

I have a problem with google cloud's billing verify. I added a debit card, which has received an X amount of eurocents from Google. To verify my billing, I need to type that amount into the 'billing account'. However, when I click 'billing' it says there are no accounts, when I try to create one, it tells me my billing account is awaiting confirmation. Any ideas?
TL;DR You could experience some issues when adding a payment method to your billing account in Google Cloud. The best you can do if you face any issue after reading the documentation is to contact Billing support.
If you receive an error such as Your card does not support automatic recurring payments or General decline of the card, please select a different form of payment.
As I can see from your question, you tried to verify Your Bank Account, as stated in the documentation:
A small test deposit will appear in your bank account within a few days of adding the account as a payment method. After you see the test deposit, you should verify the deposit as described in Find and enter a test deposit.
Instant bank verification
We offer instant bank verification for Google Cloud customers. Unlike the test deposit verification method, which takes several days to complete, instant bank verification allows you to verify your bank account within seconds.
You can use instant bank verification in either of the following situations:
If you haven't entered your bank account information yet
If you've recently entered your bank account information
Verify your payment method (US only)
Note: Currently, this service is available only to customers with a U.S. bank account.
In the resolve errors when attempting to add or update a payment method section, it mentions that
you might receive an error such as:
Your card does not support automatic recurring payments.
or
General decline of the card. No other information was provided by the issuing bank.
You might encounter these errors if you are using a debit card that requires two-factor authentication...
When you enter a debit card as your form of payment, Google checks whether your issuing bank approves subscriptions or recurring payments using that card. If your bank does not approve, this card will not work for automatic recurring payments.
If you receive an error such as Your card does not support automatic recurring payments or General decline of the card, please select a different form of payment. You can also contact Cloud Billing Support for help.
Therefore, some of the issues when adding a payment to your Cloud Billing account could be related to some bank restrictions and could even be related to some domestic and international regulations, as it occurs to customers in India.
As stated in the Payment Methods documentation:
The payment methods available for your self-serve (online) Cloud Billing account depend on your currency and country. In many countries, you can set up a credit card, debit card, or bank account as a primary payment method.
So in the first instance, I suggest you review the List of countries and regions.
If your country or region is not listed here, this might indicate that your country or region's currency is not supported for Google Cloud charges. In these instances, your Cloud Billing account might incur charges in USD.
For countries or regions not listed here, check the payment options tool for information.
Then, you should check the Supported payment methods:
The types of cards Google services lets you add to payment profiles vary by location and by product.
American Express
MasterCard
Visa
Discover (U.S. only)
JCB (Japan and U.S. only)
Visa Electron (Outside the U.S. only)
Elo credit cards (Brazil only; We don't allow you to add Elo debit cards)
Debit cards with the Visa or MasterCard logo
Bank account
If supported in your country, you can add a bank account to pay.google.com to pay your Cloud Billing account.
Verify Your Bank Account
Depending on your country, you might need to verify your bank account to use it as a payment method by direct debit. A small test deposit will appear in your bank account within a few days of adding the account as a payment method. After you see the test deposit, you should verify the deposit as described in Find and enter a test deposit.
Also, there are some unsupported payment methods:
Debit cards that require two-factor authentication
are not accepted for payment.
Prepaid cards and Virtual Credit Cards (VCCs) are not accepted for payment.
Bank accounts that only support disbursements are not accepted for payment.
Payment via wire transfer is not supported for monthly charge or threshold billing
accounts.
You may pay with a bank account by adding it as a payment method, if
supported in your
country.
So, as long as your payment method is supported, you could add it to your Cloud Billing account.
See also:
Fix payment and billing issues
How to fix a payment issue - YouTube video

Azure AD Multitenanted Apps How to get user emails from IssuerID and clientID

I have a SaaS system using Azure AD and multitenant access. This records the issuer, in the format https://sts.windows.net/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/ and an objectidentifier ID.
The portal I'm using insists on seamless trials, so for trial users I can't show a box to collect emails etc. When people later sign up this is collected.
In the initial version I screwed up and didn't collect user names/emails addresses, so I can't warn such users their trials are terminating. I've now fixed this and record the Principal.Identity.Name, which contains an email, every initial sign on.
This leaves me with a bunch of people I have no emails for.
Using what I've got, and maybe powershell or the Graph API, how do I get the names/emails?

Getting the Settlement ID from the Finance API at Amazon MWS

I'm using Amazon MWS to retrieve financial events from my seller account.
I can't seem to find anywhere in the response the financial events Settlement ID that appears on the standard settlement reports.
any help?
Settlements automatically come with reports that are available through MWS. Those reports have the _GET_V2_SETTLEMENT_REPORT_DATA_FLAT_FILE_ type and can be listed through GetReportList(). Please note that the report's ID does not match the settlement id. You'll have to request the report through GetReport() - the settlement ID is part of the response.

How to authorise a transaction between two PayPal accounts?

I am using AngularJS and have built a basic single page application. My users will enter in their PayPal email address and currency upon signing up and it will be saved within the database.
Any user can post something basic for sale for another user to purchase.
How can I authorise a transaction between two users PayPal accounts while keeping them within my site without a redirect to PayPal? All solutions online require the user to be redirected to PayPal.
You would need to use either Reference Transactions or Preapproved Payments.
You can't avoid a redirect entirely if the users are going to be paying with the PayPal Wallet. When they first sign up for your app/service they would need to authorize your system to make payments on their behalf.
So if you're using Express Checkout, for example, the user would be redirected to PayPal to authorize their account. After that is done your app could then process payments using the DoReferenceTransaction API without the need for any redirection through PayPal.
The Preapproval API sets up the preapproval profile, so yes, at that point they would be redirected. After that, though, you would have a preapproval ID that you would then pass into the Pay API in order to process payments for that person without any further approval (so no redirect) required.
If you're going to set this up with credit cards directly then you would need Payments Pro. With that you could authorize a credit card directly within your app so you wouldn't need any redirect at that point, and then once again you would use a reference transaction to process payments for that card in the future.

Resources