Skip to main content
GET
/
payments
/
{paymentId}
Retorna detalhes do pagamento
curl --request GET \
  --url https://backend-pied-prod.piedadmin.com.br/api/v2/payments/{paymentId} \
  --header 'Authorization: Bearer <token>'
{
  "type": "pix",
  "condition": {
    "name": "À vista",
    "quantityOfInstallments": 1,
    "conditionType": "notUpdate",
    "modifierType": "percentage",
    "value": 10
  },
  "transactionStatus": "pending",
  "transactionId": "AAABBB123AA",
  "authorizationNsu": "123123",
  "authorizationCode": "123123",
  "paidAt": "2025-01-01T00:00",
  "creditCard": {
    "brand": "visa",
    "last4digits": "1234",
    "first6digits": "123456",
    "holderName": "John Doe"
  },
  "total": 123,
  "subtotal": 123
}
🚀 API v2 (Recomendada) - Use este endpoint para novos projetos

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

paymentId
string
required

Response

OK

type
enum<string>
Available options:
pix,
boleto,
debito,
credito,
financiamento,
other
condition
object
transactionStatus
enum<string>
Available options:
pending,
pre_approved,
approved,
canceled,
voided,
failed,
unknown
Example:

"pending"

transactionId
string
Example:

"AAABBB123AA"

authorizationNsu
string
Example:

"123123"

authorizationCode
string
Example:

"123123"

paidAt
string
Example:

"2025-01-01T00:00"

creditCard
object
total
number
subtotal
number