REST Example: Updating a Customer-Set Price Link
REST
Example: Updating a Customer-Set Price LinkRequest
12345678910111213141516{"processingInformation": { "linkType": "DONATION" }, "orderInformation": { "amountDetails": { "minAmount": "1", "currency": "USD", "totalAmount": "5" }, "lineItems": [ { "productName": "Fundraiser", "unitPrice": "5" } ] }}
Response to a Successful Request
123456789101112131415161718192021222324252627282930313233343536{"_links": { "self": { "href": "/ipl/v2/payment-links/78759658968978", "method": "GET" }, "update": { "href": "/ipl/v2/payment-links/78759658968978", "method": "PATCH" } }, "id": "78759658968978", "submitTimeUtc": "2024-08-15T21:11:46.163224519Z", "status": "ACTIVE", "processingInformation": { "linkType": "DONATION", "requestPhone": false, "requestShipping": false }, "purchaseInformation": { "purchaseNumber": "78759658968978", "createdDate": "2024-08-15T21:08:24.593", "paymentLink": "https://businesscenter.cybersource.com/payByLink/pay/e1PxwGdhJWtz3MBXCE7DvuXoYlT7G0I2kyb3gRrQY6bLWbH5769guEPlUri2z7Kc" }, "orderInformation": { "amountDetails": { "totalAmount": 5, "currency": "USD" }, "lineItems": [ { "productName": "Fundraiser", "unitPrice": 5, "quantity": 1 } ] }}