Payment Links

Get payment link details by ID

Get payment link details by ID

get/api/v1/payment-links/{id}

Path parameters

idstring uuid required

Payment link ID

Payment link ID

Response

Success

successboolean required

Indicates if the request was successful

Example response

{
  "success": true,
  "data": {
    "redirect_urls": {
      "success_url": "https://example.com/payment/success",
      "failure_url": "https://example.com/payment/failure"
    }
  }
}

Changes

Changed in 3 of the 8 revisions of this API.219

  • b372e7d5563d118See the full diff
    • the data response's property type/format changed from / to object/ for status 200

      response-property-type-changed

    • removed paymentLink_ListItem subschema #2 from the data response property allOf list for the response status 200

      response-property-all-of-removed

    • added the required property data/amount to the response with the 200 status

      response-required-property-added

    • added the required property data/created_at to the response with the 200 status

      response-required-property-added

    • added the required property data/currency to the response with the 200 status

      response-required-property-added

    • added the required property data/expires_at to the response with the 200 status

      response-required-property-added

    • added the required property data/first_viewed_at to the response with the 200 status

      response-required-property-added

    • added the required property data/id to the response with the 200 status

      response-required-property-added

    • added the required property data/link_type to the response with the 200 status

      response-required-property-added

    • added the required property data/locale to the response with the 200 status

      response-required-property-added

    • added the required property data/merchant to the response with the 200 status

      response-required-property-added

    • added the required property data/metadata to the response with the 200 status

      response-required-property-added

    • added the required property data/order_id to the response with the 200 status

      response-required-property-added

    • added the required property data/payment_link_url to the response with the 200 status

      response-required-property-added

    • added the required property data/payment_reference to the response with the 200 status

      response-required-property-added

    • added the required property data/redirect_urls to the response with the 200 status

      response-required-property-added

    • added the required property data/status to the response with the 200 status

      response-required-property-added

    • added the required property data/transaction_id to the response with the 200 status

      response-required-property-added

    • added the required property data/views_count to the response with the 200 status

      response-required-property-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 367 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog