REST Example: Updating a Fixed-Price Link
REST
Example: Updating a Fixed-Price LinkRequest
123456789101112131415{"processingInformation": { "linkType": "PURCHASE" }, "orderInformation": { "amountDetails": { "currency": "USD", "totalAmount": "75" }, "lineItems": [ { "productName": "Birthday Cake", "unitPrice": "75" } ] }}
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": "PURCHASE", "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": 75, "currency": "USD" }, "lineItems": [ { "productName": "Birthday Cake", "unitPrice": 75, "quantity": 1 } ] }}