Metadata

Occurrence

Content

The metadata object contains additional information about the transaction. All fields are optional.

Key
Type
Description

paypalBillingAgreementId

string

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.

decline_code

string

The number to identify the error in the system

message

string

A textual representation of the error

Examples

{
  "paypalBillingAgreementId": "B-XXXXXXXXXXXXXX"
}
{
  "decline_code": "01",
  "message": "Card authentication failed"
}

Last updated