Xero API - How to retrieve Payments which are awaiting approval? - xero-api

The API allows me to search for Payments endpoint below with Status="AUTHORISED" but how can I search for payments which are awaiting approval?
https://api.xero.com/api.xro/2.0/Payments

Related

Can I create a PayPal subscription using BlueSnap API?

I want to create a subscription using Paypal. I created the API call but I want my BlueSnap console to manage it. Is there a way? I don't want to use the retrieve call all the time...
Bluesnap has two ways of managing the PayPal subscription: one using PayPal's system, and one using BlueSnap's subscription manager . In both cases, you do not need to retrieve the subscription constantly to charge it, if you're using a standard subscription.
In order to know which subscription management you will use, you can contact BlueSnap and ask about your account configuration.
In order to use the API to create a subscription in PayPal, you can use the extended API or the payment API.
Extended API:
1) create a subscription SKU to use: https://developers.bluesnap.com/v8976-Extended/docs/create-product, https://developers.bluesnap.com/v8976-Extended/docs/create-sku.
2) Create shopping context with the SKU: https://developers.bluesnap.com/v8976-Extended/docs/create-shopping-context. Make sure you use the PayPal examples.
3) Use the created Token URL to send to the shopper to approve the purchase in PayPal.
Payment API:
1) Create the PayPal transaction: https://developers.bluesnap.com/v8976-XML/docs/create-paypal-transaction.
2) Use the created Token URL to send to the shopper to approve the purchase in PayPal.

How to send sales rep info via xero sales invoices api

I am trying to send the sales rep info via the xero api but I dont see how to do this.
This is the api I am using
https://developer.xero.com/documentation/api/invoices

Shopify API - Payments

I have been reviewing the API documentation for Shopify and am trying to figure out if the cost of an item selected from the 'Store' can be passed in a Get command back to a different website so a different website can charge for the Item along with other charges from a website ...and then once the payment goes through on the website, send a POST to shopify that the sale was complete and proceed with fulfilling the order?
Our software is newspaper software so we provide newspapers with subscriber web portals were customers can sign up and pay for a newspaper subscription.
We would like to offer the ability to add Single Sales items to what a customer purchases and we want to be able to do it in one payment transaction
I have reviewed the various Shopify API documentation but it is not clear if the API supports getting cost info and posting a successful charge back to Shopify to complete the fulfillment step. We are looking to be able to GET the cost for a selected single sale item passed to us from the Shopify API so that we can add it to the Amount we pass to the Payment Gateway we integrate with and when the payment goes through, send Shopify a success on the payment.
The ultimate goal is to have a customer make one payment that can include single sales items as well as a newspaper subscription or day pass.
You should do a POST and create an Order using the Shopify API once (at your side) are sure the payment has gone through.

Does Paypal Provide a Full API integration?

Is it possible to send all relevant details to including the paypal email and password to make a transaction in only 1 step?
From what I know, no you can't.
I have been playing with the api for the last week and here is what I've learned.
You can get the users information using PayPal Login API (use the token to process payments)
You can charge a credit seamlessly (without redirecting to paypal)
You can stored / delete / look up a credit card
You can obtain authorization for a payment (requires redirect to paypal site), then capture it later.
Complete Sale (redirect to paypal), confirm payment and complete sale

PayPal subscription vs recurring?

Can someone explain the difference between the two? From what I have read, subscription is the one where you grab the HTML button from PayPal, whereas recurring is done via the API.
Is that it or is there more to it?
If so, how do subscription customers cancel their subscription?
(And, why does PayPal make it so developers have to trawl forums for answers?!)
PayPal's different type of recurring transactions:
Subscription
A subscription is created via a Website Payments Standard Subscribe button.
Before 2009, the subscription profile ID started with S-XXXXXXXX. You are not able to manage these subscriptions via any API calls.
After 2009 the subscription profile ID starts with I-XXXXXX. You are able to cancel these subscriptions via the ManageRecurringPaymentsProfileStatus API call.
Recurring Payments Profile
A recurring payments profile is created through the CreateRecurringPaymentsProfile API, and is accessible for both Express Checkout users, as well as those using Direct Recurring Payments as part of their Website Payments Pro Product.
If you use CreateRecurringPaymentsProfile via Express Checkout, you'll need prior authorization from the buyer, typically obtained by passing BILLINGTYPE=RecurringPayments in your initial SetExpressCheckout API call.
If you're using Direct Recurring Payments, you'll be able to directly pass in the credit card details into the CreateRecurringPaymentsProfile API call.
Recurring Billing
Available for Payflow Pro / Website Payments Pro Payflow Edition customers. This works similar to Direct Recurring Payments, except it's done through the Payflow API.
--
In all cases, a 'profile' is created, and PayPal is the one doing the actual billing on the schedule that you provided. You don't need to make any further API calls for the subscription / recurring payments profile / recurring billing profile to be processed.
And one more thing that I noticed.
When we make an API call to get the Transaction-details for a recurring/subscription transaction, the subscriptions which have their Profile-ID's starting with 'S-' have their TRANSACTIONTYPE as 'subscr_payment' and the subscriptions with Profile-ID's starting with 'I-' have their TRANSACTIONTYPE as 'recurring_payment'
Don't know if I am completely right.