cURL
curl --request POST \ --url https://pay.chargily.net/test/api/v2/payment-links/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "items": [ { "price": "<string>", "quantity": 123, "adjustable_quantity": true } ], "after_completion_message": "<string>", "locale": "<string>", "pass_fees_to_customer": true, "collect_shipping_address": true, "metadata": {} }'
{ "id": "01hhhtvg4w7gk4mcaxmgzb2ynw", "entity": "payment_link", "livemode": false, "name": "Payment Link for Facebook page.", "active": 1, "after_completion_message": "The product will arrive in 03 days.", "locale": "ar", "pass_fees_to_customer": false, "metadata": [], "created_at": 1702479380, "updated_at": 1702479380, "collect_shipping_address": 0, "url": "https://pay.chargily.dz/test/payment-links/01hhhtvg4w7gk4mcaxmgzb2ynw" }
Updates the information of a payment link by defining the values for the passed parameters. Any parameters not supplied will remain unaltered.
Show items