Skip to main content
GET
/
payment-method
/
{id}
/
payment
/
{paymentId}
Get payment details
curl --request GET \
  --url https://demo.api.harmony.compago.com/api/payment-method/{id}/payment/{paymentId} \
  --header 'x-api-key: <api-key>'
{
  "id": "11111111-2222-3333-4444-555555555555",
  "status": "CONFIRMED",
  "amount": 123,
  "currency": "MXN"
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string<uuid>
required

The unique identifier of the payment method

paymentId
string<uuid>
required

The unique identifier of the payment

Response

Payment details

Detailed payment information

id
string<uuid>
required
Example:

"11111111-2222-3333-4444-555555555555"

status
enum<string>
required
Available options:
NOT_INITIALIZED,
PENDING,
CONFIRMED,
CANCELLED,
REFUNDED
Example:

"CONFIRMED"

amount
number<decimal>
required
currency
string
required
Example:

"MXN"