Payment links

Retrieve a payment link

get/payment_links/{id}

Request

  • Base URL: https://shieldz.cash/api/v1
  • URL: https://shieldz.cash/api/v1/payment_links/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Response

OK

idstring
object'payment_link'
urlstring uri

The hosted page (/l/plink_…). Share it, or put the ID on a buy button: <button data-shieldz-link="plink_…">.

activeboolean

false once turned off; the page then says the item isn't available.

collect_emailboolean
collect_shipping_addressboolean
after_completionobject

{ type: "redirect", redirect: { url } } or { type: "hosted_confirmation", hosted_confirmation: { custom_message } }.

paid_countinteger

Invoices from this link that were paid.

paid_usd_centsinteger

Their total, in USD cents.

created_atinteger

Unix milliseconds.

updated_atinteger

Unix milliseconds.

Example response

{
  "id": "plink_7Gd1KsP0aZ4Hn8Wq",
  "line_items": [
    {
      "price": {
        "id": "price_9fK2LmQx7Rt4Vb1N"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.