Payment links
Update a payment link (its URL stays the same); active: false turns it off
post/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
Request body
Example request
{
"line_items": [
{
"product": "prod_3hQ8ZpW2Nc6Ty0Lk",
"quantity": 1,
"adjustable_quantity": {
"enabled": true,
"minimum": 1,
"maximum": 5
}
}
],
"collect_shipping_address": true,
"after_completion": {
"type": "hosted_confirmation",
"hosted_confirmation": {
"custom_message": "Thanks! We ship within 2 days."
}
}
}Response
OK
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.