v1

latestOpenAPI 3.0.02026-07-2640301.0 MB
PayPal Endpoints

paypal/withdraw/transaction

This endpoint is used to look up and return the full details on a single PayPal withdraw transaction. PayPal withdraw send funds from your VoPay account to the customer's PayPal account.

get/paypal/withdraw/transaction

Query parameters

AccountIDstring required

Your account ID

Keystring required

API key for the account

Signaturestring required

Hashed signature for the request

TransactionIDinteger required

Account transaction ID

Response

Successboolean required

true if the request was successful, false if it failed

ErrorMessagestring required

Contains a description of the error if the request failed

TransactionIDinteger required

The unique ID of the transaction

TransactionStatusstring required

A message indicating the current transaction status. Statuses are: pending, in progress, successful, failed, cancelled

TransactionDateTimestring date-time required

The timestamp when the transaction was created

Amountnumber required

The dollar amount of the PayPal withdraw transaction. This is the amount that was sent to the customer's PayPal account.

Currencystring required

The currency for the transaction.

PayPalTokenstring required

A unique token of the PayPal recipient information.

GLCodestring required

General ledger code.

TransactionTypeCodestring required

CPA transaction code.

LastModifiedstring date-time required

This timestamp indicates when the transaction record was last modified. In normal circumstances the transaction record will only be modified when the status of the transaction changes or the HoldAmount is changed.

Example response

{
  "Success": true,
  "TransactionStatus": "pending",
  "TransactionDateTime": "2019-11-01 12:00:00",
  "Currency": "CAD",
  "PayPalToken": "ACBDF-GAFSHD-AHBS-123456",
  "GLCode": "4300",
  "TransactionTypeCode": "999",
  "LastModified": "2019-11-03 01:00:00"
}