Skip to main content
Rate this article:

Overview

Shows details for a billing agreement, by ID that was created in PayPal Initiate billing agreement.

Required fields

  • billingAgreementID-  billing agreement id in params 
  • ppcUid - PayPal Payment Provider Contract UUID in query

Optional fields

There are no optional fields

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

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

Response code example

{
    "id": "B-1WW844612B6208426",
    "state": "INACTIVE",
    "description": "Stored PayPal account with The Partner merchant",
    "merchant": {
        "payeeInfo": {
            "email": "buyer@business.example.com"
        }
    },
    "payer": {
        "payerInfo": {
            "email": "payer@business.example.com",
            "firstName": "John",
            "lastName": "Doe",
            "payerId": "VJRXDDV4UWZ2W"
        }
    },
    "plan": {
        "merchantPreferences": {}
    },
    "createTime": "2021-03-03T11:56:27.000Z",
    "updateTime": "2021-03-03T11:56:27.000Z"
}

 

Rate this article:
Logo of Verifone