cURL
curl --request GET \ --url https://api.prod.commenda.io/api/v1/public/payment-intents/{paymentIntentId} \ --header 'x-api-key: <api-key>'
{ "paymentIntentId": "pi_123", "serviceRequestURL": "https://app.commenda.io/service-request/sr_123" }
Retrieve a single payment intent and its linked service request handoff URL.
serviceRequestURL
Payment intent identifier returned by POST /public/services.
POST /public/services
Payment intent retrieved successfully
"pi_123"
App URL for the linked service request, if one exists.
"https://app.commenda.io/service-request/sr_123"
Was this page helpful?