Link delivery QR code
The delivery's url as a QR code: format=svg (the default, image/svg+xml) or format=png (image/png).
Response contract
The successful wire shape and errors an integration should branch on.
Link delivery
image/svg+xmlidstringrequired- Unique delivery identifier. Also the list cursor.
object"link_delivery"required- Stable resource discriminator.
channelstringrequired- One of email, sms, qr or copied.
statusstringrequired- created (qr, copied), queued, sent or failed. An open set: more values will be added, and a value you do not know means in progress.
recipientstring- Masked address, email and sms only. The full address is never stored.
urlstringrequired- The link's or invoice's own url plus ?d=…, so opens and payments through this delivery are counted. That url never changes.
sentAtstring- When the message was handed to the provider.
failureCodestring- When status is failed: DELIVERY_SEND_FAILED, DELIVERY_RECIPIENT_INVALID, DELIVERY_RECIPIENT_NOT_ALLOWED or DELIVERY_CHANNEL_UNAVAILABLE.
openedAtstring- First page load through this delivery.
openCountintegerrequired- Page loads through this delivery. Link previewers and scanners count.
paidbooleanrequired- True once a payment through this delivery succeeded.
paymentIdstring- When paid: the payment, as GET /v1/payments/{id} takes it.
createdAtstringrequired- ISO 8601 creation timestamp.
Error responses
401
authentication_failedThe key is missing, malformed, revoked, or invalid for this environment.
403
permission_deniedThe key does not have paymentLinks.retrieve.
404
not_foundThe resource does not exist for this merchant.
422
invalid_requestOne or more request fields are invalid.