Skip to main content
GET
https://pay.chargily.net/test/api/v2
/
payment-links
/
{id}
Retrieve a payment link
curl --request GET \
  --url https://pay.chargily.net/test/api/v2/payment-links/{id} \
  --header 'Authorization: Bearer <token>'
{
  "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/01hhhtvg4w7gk4mfg5fdgmgzb2ynw"
}

Path parameters

id
string
The ID of the payment link.

Returns

If a valid ID is provided, it returns a payment link object.
{
  "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/01hhhtvg4w7gk4mfg5fdgmgzb2ynw"
}