A payment link is a shareable URL that can be used to take multiple payment on same link. A payment link can be shared and used multiple times to accept payment from your customers. You can create a payment link in your preferred base currency to be paid in cryptocurrency supported by the Speed platform API (currently SATS).

When a customer visits the payment link URL, it will open a new checkout session rendering a payment page with information such as payment QR code and branding details. Upon receiving the funds, the status of the payment associated with that checkout session changes to paid.

You can use these checkout sessions to track payments through the payment links.

  "id": "plink_test_l9416770zIfz6Vd",
  "object": "payment.link",
  "livemode": false,
  "status": "active",
  "url": "https://buy.tryspeed.com/plink_test_l941678zIf3z6Vd",
  "currency": "USD",
  "amount": 6.9,
  "target_currency": "SATS",
  "statement_descriptor": null,
  "created": 1665487320656,
  "modified": 1665782320656

id string
Unique identifier for the object.

object string
The type of the object indicates to which entity this response belongs.

livemode boolean
If the object is in live mode, it has the value true; otherwise, it has the value false.

status string
A payment link can have 2 statuses as mentioned below.

    Upon generation, by default, it will be active until deactivated.
    You can manually deactivate a payment link when you don't intend to get paid via it.

url string
The public URL that can be shared with your customers to receive payments.

currency string
Your preferred currency (base currency) in which you want to create a payment link.

amount BigDecimal
Total amount for which the payment link was created. Values up to 32 digits can be handled by the amount param, which can have a decimal precision of up to 16 digits.

target_currency string
The cryptocurrency in which you want to receive payment from your customer. As of now, Speed only supports SATS.

statement_descriptor string
Additional information about a payment made to an account via this payment link.

created timestamp
Time at which the payment link was created.

modified timestamp
Time at which the last modification was made.