Fetch a billing agreement
Changed onget/paypal/billing_agreements/{id}
Request
- Base URLhttps://gateway.pmnts-sandbox.io/v1.0
- URLhttps://gateway.pmnts-sandbox.io/v1.0/paypal/billing_agreements/{id}
- AuthHTTP basic
Path parameters
idstring required
The ID of the billing agreement.
Headers
Content-Typestring
Response
200
Example response
{
"successful": true,
"response": {
"id": "071-PBA-ETCGSDAKH8TPIL99",
"name": "Sample Billing Agreement",
"description": "Stored PayPal account",
"state": "Active",
"payer": {
"payer_info": {
"email": "test-buyer@example.com",
"first_name": "FZ Test Buyer",
"last_name": "Buyer",
"payer_id": "SNGQ72BA8UA4W"
}
},
"shipping_address": {
"first_name": "John",
"last_name": "Doe",
"address_1": "100 Kent Street",
"address_2": "Cafe Lane",
"city": "Sydney",
"state": "NSW",
"postcode": "2000",
"country": "AU"
},
"merchant_custom_data": "UUID",
"created_at": "2020-08-28T15:37:35+10:00"
}
}Changes
- info
endpoint added
- info