# Retrieve order receipt

**GET** `/payment-links/{link_id}/orders-receipt/{order_id}`

Base URL: `https://api-sbx.pre.globalgetnet.com/dpy/payment-link/v1`

Returns the receipt (proof of payment) for a paid payment order.

## Header parameters

- `Authorization` (string, required)
  Bearer Token (JWT). x-seller-id, country, and tenant are extracted from the token.

## Path parameters

- `link_id` (string, required)
  UUID v4 of the payment link
- `order_id` (string, required)
  UUID v4 of the order

## Responses

### 200

Receipt found

- `order_id` (string<uuid>)
- `link_id` (string<uuid>)
- `authorization_code` (string)
- `country` (string)
- `merchant_name` (string)
- `merchant_document` (string)
- `transaction_date` (string<date-time>)
- `customer` (object)
  - `first_name` (string, required)
  - `last_name` (string, required)
  - `name` (string, required)
  - `email` (string<email>, required)
  - `document_type` (string)
  - `document_number` (string)
  - `phone_number` (string)
  - `billing_address` (object)
    - `street` (string)
    - `number` (string)
    - `complement` (string)
    - `district` (string)
    - `city` (string)
    - `state` (string)
    - `country` (string)
    - `postal_code` (string)
    - `reference` (string)
- `products` (object[])
  - `product_type` (string)
  - `title` (string)
  - `description` (string)
  - `quantity` (integer)
  - `value` (integer)
    Value in cents
  - `order_prefix` (string)
- `shipping` (object)
  - `first_name` (string)
  - `name` (string)
  - `email` (string<email>)
  - `phone_number` (string)
  - `shipping_amount` (integer)
    Shipping cost in cents
  - `address` (object)
    - `street` (string)
    - `number` (string)
    - `complement` (string)
    - `district` (string)
    - `city` (string)
    - `state` (string)
    - `country` (string)
    - `postal_code` (string)
    - `reference` (string)
- `payment` (object)
  - `currency` (string)
  - `amount` (integer)
    Purchase amount in cents
  - `total_amount` (integer)
    Total amount (amount + shipping + interest)
  - `operation` (string)
    Payment method used (credit, debit, bankslip, instant_payment)
  - `brand` (string)
  - `transaction_id` (string)
  - `installment` (object)
    - `schema` (string)
    - `type` ("no_interest" | "with_interest")
    - `number` (integer)
      Number of installments
    - `interest_rate` (number)
    - `increase_rate` (number)
  - `last_four_digits` (string)
- `soft_descriptor` (string)
- `reference_code` (string)
- `created_at` (string<date-time>)
- `updated_at` (string<date-time>)

Example:

```json
{
  "order_id": "7b22a6b5-d24d-4d6e-90e5-5b06cf41d0a1",
  "link_id": "9e5dcedc-1e5f-4e85-9b64-4d0b43d98c82",
  "authorization_code": "012345",
  "country": "BR",
  "merchant_name": "Loja Exemplo",
  "merchant_document": "12345678000190",
  "transaction_date": "2026-06-20T14:30:00.000Z",
  "customer": {
    "first_name": "João",
    "last_name": "da Silva",
    "name": "João da Silva",
    "email": "customer@email.com.br",
    "document_type": "CPF",
    "document_number": "12345678912",
    "phone_number": "5551999887766",
    "billing_address": {
      "street": "Av. Brasil",
      "number": "1000",
      "complement": "Sala 1",
      "district": "São Geraldo",
      "city": "Porto Alegre",
      "state": "RS",
      "country": "Brasil",
      "postal_code": "90230060",
      "reference": "string"
    }
  },
  "products": [
    {
      "product_type": "physical_goods",
      "title": "Camiseta Premium",
      "description": "Camiseta 100% algodão",
      "quantity": 2,
      "value": 5990,
      "order_prefix": "PED"
    }
  ],
  "shipping": {
    "first_name": "João",
    "name": "João da Silva",
    "email": "customer@email.com.br",
    "phone_number": "5551999887766",
    "shipping_amount": 3000,
    "address": {
      "street": "Av. Brasil",
      "number": "1000",
      "complement": "Sala 1",
      "district": "São Geraldo",
      "city": "Porto Alegre",
      "state": "RS",
      "country": "Brasil",
      "postal_code": "90230060",
      "reference": "string"
    }
  },
  "payment": {
    "currency": "BRL",
    "amount": 11980,
    "total_amount": 13480,
    "operation": "credit",
    "brand": "VISA",
    "transaction_id": "abc123def456",
    "installment": {
      "schema": "plan_lojista",
      "type": "no_interest",
      "number": 3,
      "interest_rate": 0,
      "increase_rate": 0
    },
    "last_four_digits": "1234"
  },
  "soft_descriptor": "LOJA EXEMPLO",
  "reference_code": "REF-2026-001",
  "created_at": "2026-06-20T14:30:05.000Z",
  "updated_at": "2026-06-20T14:30:05.000Z"
}
```

### 404

Not found

- `error_code` (string)
- `message` (string)
- `status_code` (integer)

Example:

```json
{
  "error_code": "payment_link_not_found",
  "message": "Payment Link not found",
  "status_code": 422
}
```

### 500

Internal server error

- `error_code` (string)
- `message` (string)
- `status_code` (integer)

Example:

```json
{
  "error_code": "payment_link_not_found",
  "message": "Payment Link not found",
  "status_code": 422
}
```