Get a payment link
Retrieve the details of a payment link, including all associated orders grouped by status.
Authorization
basicAuth AuthorizationBasic <token>
Use your API key as the username and leave the password empty.
Encode as Base64: {api_key}: (note the trailing colon).
In: header
Path Parameters
id*string
The payment link ID (returned when the link was created)
Format
uuidResponse Body
application/json
application/json
application/json
curl -u YOUR_API_KEY: \ https://api.costplus.online/v1/paymentlinks/e6eecc6a-47c5-4948-bcc0-d8b73f5c55a1/{
"id": "e6eecc6a-47c5-4948-bcc0-d8b73f5c55a1",
"merchant_order_id": "invoice-1234",
"amount": 995,
"currency": "EUR",
"description": "Invoice #1234",
"expiration_period": "P30D",
"payment_url": "https://api.costplus.online/paymentlinks/e6eecc6a-47c5-4948-bcc0-d8b73f5c55a1/",
"status": "completed",
"reason": "Completed",
"completed": "2026-01-15T12:05:30.123456+00:00",
"completed_order_id": "3bb663cc-2a20-400d-8bf6-18d9695d0c66",
"orders": {
"error": [
"0d79014c-0aaa-4fd6-87c5-c8cfa5f5ac69"
],
"completed": [
"3bb663cc-2a20-400d-8bf6-18d9695d0c66"
]
},
"created": "2026-01-15T12:00:00.000000Z",
"modified": "2026-01-15T12:05:35.654321Z"
}{
"error": {
"status": 400,
"type": "string",
"value": "string",
"property_path": "string",
"property_description": "string"
}
}{
"error": {
"status": 400,
"type": "string",
"value": "string",
"property_path": "string",
"property_description": "string"
}
}