@datafire/paypal

5.0.0 • Public • Published

@datafire/paypal

Client library for PayPal (Sandbox)

Installation and Usage

npm install --save @datafire/paypal
let paypal = require('@datafire/paypal').create();

.then(data => {
  console.log(data);
});

Description

Bring payments to apps, mobile and social with Adaptive Payments (Sandbox API).

Actions

Permissions.GetAdvancedPersonalData.post

Use the GetAdvancedPersonalData API operation to obtain sensitive personal data for an account holder.

paypal.Permissions.GetAdvancedPersonalData.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

Permissions.GetBasicPersonalData.post

Use the GetBasicPersonalData API operation to obtain basic personal data for an account holder.

paypal.Permissions.GetBasicPersonalData.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

Permissions.CancelPermissions.post

Use the CancelPermissions API operation to cancel access to a set of permissions.

paypal.Permissions.CancelPermissions.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

Permissions.GetPermissions.post

Use the GetPermissons API operation to obtain the permissions associated with an access token.

paypal.Permissions.GetPermissions.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

Permissions.GetAccessToken.post

Use the GetAccessToken API operation to obtain an access token for a set of permissions.

paypal.Permissions.GetAccessToken.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

Permissions.RequestPermissions.post

Use the RequestPermissions API operation to request permissions to execute API operations on a PayPal account holder’s behalf.

paypal.Permissions.RequestPermissions.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

Invoice.SearchInvoices.post

Use the SearchInvoice API operation to search an invoice.

paypal.Invoice.SearchInvoices.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

Invoice.MarkInvoiceAsPaid.post

Use the MarkInvoiceAsPaid API operation to mark an invoice as paid.

paypal.Invoice.MarkInvoiceAsPaid.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

Invoice.CancelInvoice.post

Use the CancelInvoice API operation to cancel an invoice.

paypal.Invoice.CancelInvoice.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

Invoice.GetInvoiceDetails.post

Use the GetInvoiceDetails API operation to get detailed information about an invoice.

paypal.Invoice.GetInvoiceDetails.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

Invoice.UpdateInvoice.post

Use the UpdateInvoice API operation to update an invoice.

paypal.Invoice.UpdateInvoice.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

Invoice.CreateAndSendInvoice.post

Use the CreateAndSendInvoice API operation to create and send an invoice.

paypal.Invoice.CreateAndSendInvoice.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

Invoice.SendInvoice.post

Use the SendInvoice API operation to send an invoice to a payer, and notify the payer of the pending invoice.

paypal.Invoice.SendInvoice.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

Invoice.CreateInvoice.post

Use the CreateInvoice API operation to create a new invoice. The call includes merchant, payer, and API caller information, in addition to invoice detail. The response to the call contains an invoice ID and URL.

paypal.Invoice.CreateInvoice.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

AdaptiveAccounts.GetUserAgreement.post

The GetUserAgreement API operation lets you retrieve the user agreement for the customer to approve the new PayPal account.

paypal.AdaptiveAccounts.GetUserAgreement.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

AdaptiveAccounts.GetVerifiedStatus.post

The GetVerifiedStatus API operation lets you check if a PayPal account status is verified. A PayPal account gains verified status under a variety of circumstances, such as when an account is linked to a verified funding source. Verified status serves to indicate a trust relationship. For more information about account verified status, refer to PayPal.com.

paypal.AdaptiveAccounts.GetVerifiedStatus.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

AdaptiveAccounts.SetFundingSourceConfirmed.post

The SetFundingSourceConfirmed API operation lets your application set up bank accounts as funding sources for PayPal accounts.

paypal.AdaptiveAccounts.SetFundingSourceConfirmed.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

AdaptiveAccounts.AddPaymentCard.post

The AddPaymentCard API operation lets your application set up credit cards as funding sources for PayPal accounts.

paypal.AdaptiveAccounts.AddPaymentCard.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

AdaptiveAccounts.AddBankAccount.post

The AddBankAccount API operation lets your application set up bank accounts as funding sources for PayPal accounts.

paypal.AdaptiveAccounts.AddBankAccount.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

AdaptiveAccounts.CreateAccount.post

The CreateAccount API operation enables you to create a PayPal account on behalf of a third party.

paypal.AdaptiveAccounts.CreateAccount.post({
  "X-PAYPAL-SANDBOX-EMAIL-ADDRESS": null
}, context)

Input

  • input object

Output

Output schema unknown

AdaptivePayments.GetFundingPlans.post

Use the GetFundingPlans API operation to determine the funding sources that are available for a specified payment, identified by its key, which takes into account the preferences and country of the receiver as well as the payment amount. You must be both the sender of the payment and the caller of this API operation

paypal.AdaptivePayments.GetFundingPlans.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

AdaptivePayments.GetShippingAddresses.post

Use the GetShippingAddresses API operation to obtain the selected shipping address. You must have created the payment or preapproval key that identifies the account holder whose shipping address you want to obtain, or be the primary receiver of the payment or one of the parallel receivers of the payment. The shipping address is available only if it was provided during the embedded payment flow.

paypal.AdaptivePayments.GetShippingAddresses.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

AdaptivePayments.ExecutePayment.post

The ExecutePayment API operation lets you execute a payment set up with the Pay API operation with the actionType CREATE. To pay receivers identified in the Pay call, set the pay key from the PayResponse message in the ExecutePaymentRequest message.

paypal.AdaptivePayments.ExecutePayment.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

AdaptivePayments.SetPaymentOptions.post

You use the SetPaymentOptions API operation to specify settings for a payment of the actionType CREATE. This actionType is specified in the PayRequest message.

paypal.AdaptivePayments.SetPaymentOptions.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

AdaptivePayments.GetPaymentOptions.post

You use the GetPaymentOptions API operation to retrieve the payment options passed with the SetPaymentOptionsRequest.

paypal.AdaptivePayments.GetPaymentOptions.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

AdaptivePayments.Refund.post

Use the Refund API operation to refund all or part of a payment. You can specify the amount of the refund and identify the accounts to receive the refund by the payment key or tracking ID, and optionally, by transaction ID or the receivers of the original payment.

paypal.AdaptivePayments.Refund.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

AdaptivePayments.ConvertCurrency.post

Use the ConvertCurrency API operation to request the current foreign exchange (FX) rate for a specific amount and currency.

paypal.AdaptivePayments.ConvertCurrency.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

AdaptivePayments.CancelPreapproval.post

Use the CancelPreapproval API operation to handle the canceling of preapprovals. Preapprovals can be canceled regardless of the state they are in, such as active, expired, deactivated, and previously canceled.

paypal.AdaptivePayments.CancelPreapproval.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

AdaptivePayments.PreapprovalDetails.post

Use the PreapprovalDetails API operation to obtain information about an agreement between you and a sender for making payments on the sender’s behalf.

paypal.AdaptivePayments.PreapprovalDetails.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

AdaptivePayments.Preapproval.post

Use the Preapproval API operation to set up an agreement between yourself and a sender for making payments on the sender’s behalf. You set up a preapprovals for a specific maximum amount over a specific period of time and, optionally, by any of the following constraints: the number of payments, a maximum per-payment amount, a specific day of the week or the month, and whether or not a PIN is required for each payment request.

paypal.AdaptivePayments.Preapproval.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

AdaptivePayments.PaymentDetails.post

Use the PaymentDetails API operation to obtain information about a payment. You can identify the payment by your tracking ID, the PayPal transaction ID in an IPN message, or the pay key associated with the payment.

paypal.AdaptivePayments.PaymentDetails.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

AdaptivePayments.Pay.post

Use the Pay API operation to transfer funds from a sender’s PayPal account to one or more receivers’ PayPal accounts. You can use the Pay API operation to make simple payments, chained payments, or parallel payments; these payments can be explicitly approved, preapproved, or implicitly approved.

paypal.AdaptivePayments.Pay.post(null, context)

Input

This action has no parameters

Output

Output schema unknown

Definitions

This integration has no definitions

Readme

Keywords

none

Package Sidebar

Install

npm i @datafire/paypal

Weekly Downloads

0

Version

5.0.0

License

MIT

Unpacked Size

33.3 kB

Total Files

4

Last publish

Collaborators

  • datafire