I want to integrate the refund API of Pabbly but when i'm calling it using postman
There is an Error Response
I'm also providing the basic auth (email and password) of the current user with active product and checkout page. Below is the api docs of pabbly that i'm referring.
https://apidocs.pabbly.com/
All the API uses Basic Auth as an authorization channel.
Username: API Key from your Pabbly Subscription Account
Password: Secret Key from your Pabbly Subscription Account
Location of API Key in Pabbly Subscriptions account -
From your accounts dashboard go to;
Settings -> API Settings -> Generate the Keys
Related
There's no clear information about this, neither at Twitter developer portal either.
How to obtain user's email via Twitter API OAuth v1 or v2? Is it possible at all nowadays?
Assume that a user has been authenticated with a proper "scope" permission
This is possible in Twitter API v1.1 and OAuth 1.0A, if:
the app has "request user email address" permissions in the developer portal for OAuth 1.0A, with the account access token granted after that was set (i.e. they saw "app can request your email address" in the list when authenticating), and...
the app calls /1.1/account/verify_credentials.json with the include_email=true parameter set
This is not currently possible in Twitter API v2 with OAuth 2.0 but this is actively being worked on (and would be added via Open ID Connect in the future release when it is ready).
I am trying to fetch client account info using MCC ad account. I prompted user for authentication to my app. After successful authentication, I used the client id and token to fetch the detail.
My application needs to log in to each user and generate the bearer token for each of them. By using the bearer token I can fetch the result using Twitter API v2. Anyone, please help me how can I do that.
The bearer token is specific to your application, NOT to the user. Bearer token / app only authentication is JUST for the app, not for the user. The first time you create the app on the Twitter developer portal, you get the bearer token which you should save in your password manager.
The account token - when a user is logged in to your app - is different. If you need this, you can also generate it on the developer portal FOR YOUR ACCOUNT ONLY, or you can make your app implement sign-in with Twitter via OAuth 1.0A. These tokens will enable your app to operate for a user and port new Tweets, like Tweets, create lists, etc.
I am trying to get authentication done via OAuth for Bigcommerce. It looks easy but not happening at my end.
I got postman Bigcommerce APIs in collection. But there is no API for Customer Login API and when, I am trying to do it via OAUth it is not happening though it works fine with Basic Authentication.
I have created my draft App and successfully installed on Bigcommerce Store.
Created API Account > Client ID, Client Secret & Access token received.
My Concerns
How OAuth can be done for Bigcommerce ?
Please have a look to the settings for OAuth API
Desired result :
Customer Login API with Basic Authentication
This will help in logging in Customer Login
I tried Logging In: Login to BigCommerce API through iOS Application as a customer
If anyone can provide some insight, I would appreciate it greatly!
Here's a link to the documentation on the BigCommerce Oauth Customer Login API:
https://developer.bigcommerce.com/api/v3/storefront.html#customer_login_api
Your app would need to generate a JSON Web Token using a payload containing the following claims:
{
"iss": "your Oauth Client ID",
"iat": time token was generated (Unix),
"jti": "This is a completely unique string, ideally a UUID",
"operation": "customer_login",
"store_hash": "abc123",
"customer_id": 12345,
"redirect_to": "/account.php",
"request_ip": "111.222.333.444"
}
The JWT is signed with your BigCommerce Oauth Client Secret.
Then, you would append the JWT to this login entry point URL to log the customer into their account:
https://storedomain.com/login/token/{JWT}
I've seen these questions about using Postman in order to invoke Google's API with OAuth 2:
Using Postman to access OAuth 2.0 Google APIs
Could not obtain Google oAuth 2 token on POSTMan
and many more, but they all have client ID and client secret.
For the 'Save to Android Pay' API, all I got is a .p12 key and an issuer ID. I also have Service Account Email Address but defiantly no client id or secret. I think I also have the Auth URL but I'm not sure: https://www.googleapis.com/auth/wallet_object.issuer
Looking in the Save to Android Pay API, doesn't say anything about a client id so I'm really not sure how I'm supposed to obtain a token in POSTMAN with what I have.
So my question is: giving a .p12 key, an issuerId and a Service Account Email Address, What do I need to fill in POSTMAN OAuth 2 fields:
Token Name, Auth URL, Access Token URL, Client ID, Client Secret, Scope (Optional), Grant Type
To obtain OAuth 2.0 client credentials, you need to register an application to the Google API Console as specify in the basic steps and then you'll get a client ID and client secret.