The meta data contains additional optional information about the transaction.

Key

Type

Description

paypalBillingAgreementId

string

(optional) If you have activated the option "Create Billing Agreement" in the payment service provider settings of PayPal in your PayPal merchant backend, you will receive the created BillingAgreementId and you will be able to perform charges on behalf of your application.

Example

<?php
array(
  'metadata' => array(
    'paypalBillingAgreementId' => 'B-XXXXXXXXXXXXXX',
  ),
);