Skip to main content
GET
/
public
/
payment-intents
/
{paymentIntentId}
Get one payment intent
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"
}

Documentation Index

Fetch the complete documentation index at: https://docs.commenda.io/llms.txt

Use this file to discover all available pages before exploring further.

Returns the payment intent id plus the linked serviceRequestURL in the app when the service request already exists.

Authorizations

x-api-key
string
header
required

Path Parameters

paymentIntentId
string
required

Payment intent identifier returned by POST /public/services.

Response

Payment intent retrieved successfully

paymentIntentId
string
required
Example:

"pi_123"

serviceRequestURL
string | null
required

App URL for the linked service request, if one exists.

Example:

"https://app.commenda.io/service-request/sr_123"