-27-
29 : Invoice Search
41 : 06
44 : 07 : { "total_count": 0, "invoices": [] }
50 : Sale Search
54 : saleId = 6LH608033M708222X
57 : { "id": "6LH608033M708222X", "state": "completed", "amount": { "total": "70.00", "currency": "USD", "details": { "subtotal": "70.00" } }, "payment_mode": "INSTANT_TRANSFER", "protection_eligibility": "INELIGIBLE", "transaction_fee": { "value": "2.33", "currency": "USD" }, "invoice_number": "", "billing_agreement_id": "I-J8WCBS8B1AB3", "create_time": "2019-10-06T13:43:47Z", "update_time": "2019-10-06T13:43:47Z", "links": [ { "href": "https://api.paypal.com/v1/payments/sale/6LH608033M708222X", "rel": "self", "method": "GET" }, { "href": "https://api.paypal.com/v1/payments/sale/6LH608033M708222X/refund", "rel": "refund", "method": "POST" } ] }
62 : Billing Agreement
66 : createdAgreement = 6LH608033M708222X