Skip to main content

Online payments

PayPal Create billing agreement

Last updated: 13-Mar-2024

Overview

Creating a billing agreement using a token, that was created in Initiate Billing Agreement API.

Required fields

  • billingToken - PayPal agreement token that was created in Initiate billing agreement
  • ppcUid - PayPal Payment Provider Contract UUID

Here is an example of request that can be used for creating a billing agreement.

curl -v -X POST '<SERVER URL>/billingAgreement/create' \
-H 'Authorization: Bearer <Access Token>' \
-H 'Content-Type: application/json' \
-d '{
    "billingToken":"BA-7P980893LY950894R",
    "paymentProviderContract":"<PPC ID>"
}'

Response code example

{
    "agreementId": "B-1WW844616B620123"
}

Response Fields:

  • agreementId - The billing agreement ID that should be sent for authorizing and capturing the funds.

Note: This agreement ID should be saved by the merchant on their server, so that they can send it for authorizing and capturing the transactions.

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Verifone logo