Skip to main content
GET
/
v1
/
payments
/
{paymentId}
Get a payment
curl --request GET \
  --url https://api.yuvexpay.com/v1/payments/{paymentId} \
  --header 'Authorization: Bearer <token>'
{
  "payment": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "txId": "<string>",
    "amount": 123,
    "feeAmount": 123,
    "netAmount": 123,
    "status": "NEW",
    "paymentMethod": "PIX",
    "currency": "BRL",
    "description": "<string>",
    "metadata": {},
    "expiresAt": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "methodData": {
      "type": "PIX"
    }
  }
}

Authorizations

Authorization
string
header
required

API access token obtained from POST /oauth/token. Include as Authorization: Bearer {token}.

Path Parameters

paymentId
string<uuid>
required

The payment ID.

Response

Payment found.

payment
object