Skip to main content
GET
/
payment-intent
/
{id}
Get payment intent status
curl --request GET \
  --url https://demo.api.harmony.compago.com/api/payment-intent/{id} \
  --header 'x-api-key: <api-key>'
{
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "status": "PENDING",
  "expired": true,
  "paymentSummary": {
    "status": "SUCCESS"
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string<uuid>
required

The unique identifier of the payment intent

Response

Payment intent details with status and payment summary

Payment intent details including status, expiration, and payment result

id
string<uuid>
required
Example:

"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"

status
enum<string>
required

Current status of the payment intent

Available options:
PENDING,
CONFIRMED,
CANCELLED
expired
boolean
required

Whether the payment intent has passed its expiration time

paymentSummary
object

Summary of the payment result (present when a payment has been processed)