Skip to main content

Online payments

PayPal Show token details

Last updated: 30-Mar-2022

Overview

Shows details for an agreement token, by an agreement token ID that was created in Initiate Billing Agreement API.

Required fields

There are no required fields for show token details API.

Optional fields

There are no optional fields.

Here is an example of a GET request that can be used for getting an agreement token.

curl -v -X GET '<SERVER URL>/billingAgreement/token/<Token>?ppcUid=<PPC Id>' \
-H 'Authorization: Bearer <Access Token>'

Response

The response for show token details will look like this:

{
    "description": "Stored PayPal account with The Partner merchant",
    "tokenId": "BA-2P312934M8351860T",
    "status": "APPROVED",
    "collectShippingAddress": false,
    "enableAddressChange": true,
    "redirectUrls": {
        "cancelUrl": "https://68f8497efb9ce8aeef3ed419c6ef0597.m.pipedream.net/cancel",
        "returnUrl": "https://68f8497efb9ce8aeef3ed419c6ef0597.m.pipedream.net/success"
    }
}

Need help?

Do you have a question? On our Support page you will find a list with answers to frequently asked questions.
Did not find the answer you are looking for? Please contact us. We are happy to help.

Logo of Verifone