Skip to main content
GET
/
v1
/
transactions
/
{key}
Get transaction
curl --request GET \
  --url https://api.example.com/v1/transactions/{key}
{
  "data": {
    "key": "transaction_123",
    "action": "sale",
    "amount": 99.99,
    "partner": "partner_123",
    "customer": "customer_123",
    "credit": false,
    "is_currency": true,
    "amount_units": "USD",
    "created_at": "2025-05-07T05:32:48.000000Z",
    "deleted_at": null,
    "rewards": [
      {
        "key": "transaction_123",
        "action": "sale",
        "status": "ok",
        "customer": "customer_123",
        "partner": "partner_123",
        "amount": 29.997,
        "amount_units": "USD",
        "is_currency": true,
        "credit": false,
        "created_at": "2025-05-07T05:32:48.000000Z",
        "deleted_at": null,
        "product_type_data": {
          "product_id": "prod_123",
          "product_type": "monthly"
        }
      }
    ]
  },
  "status": 1
}

Endpoint

GET https://api.partnero.com/v1/transactions/{key}

Path parameters

ParameterTypeRequiredDescription
keystringYesTransaction’s unique key

Request

cURL
curl --location 'https://api.partnero.com/v1/transactions/transaction_123' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_API_KEY'

Response

{
  "data": {
    "key": "transaction_123",
    "action": "sale",
    "amount": 99.99,
    "partner": "partner_123",
    "customer": "customer_123",
    "credit": false,
    "is_currency": true,
    "amount_units": "USD",
    "created_at": "2025-05-07T05:32:48.000000Z",
    "deleted_at": null,
    "rewards": [
      {
        "key": "transaction_123",
        "action": "sale",
        "status": "ok",
        "customer": "customer_123",
        "partner": "partner_123",
        "amount": 29.997,
        "amount_units": "USD",
        "is_currency": true,
        "credit": false,
        "created_at": "2025-05-07T05:32:48.000000Z",
        "deleted_at": null,
        "product_type_data": {
          "product_id": "prod_123",
          "product_type": "monthly"
        }
      }
    ]
  },
  "status": 1
}

Response fields

FieldTypeDescription
keystringUnique transaction identifier
actionstringTransaction type
amountnumberTransaction amount
amount_unitsstringCurrency code
partnerstringPartner key
customerstringCustomer key
creditbooleanWhether this is a credit transaction
is_currencybooleanWhether the amount is monetary
created_atstringISO 8601 timestamp
deleted_atstring|nullDeletion timestamp if archived/refunded
FieldTypeDescription
keystringReward identifier (matches transaction key)
actionstringReward origin
statusstringReward status (ok, review_period, rejected)
customerstringCustomer key
partnerstringPartner key
amountnumberCommission amount
amount_unitsstringCurrency code
is_currencybooleanWhether the amount is monetary
creditbooleanWhether this is a credit reward
created_atstringISO 8601 timestamp
deleted_atstring|nullDeletion timestamp
product_type_dataobjectProduct ID and type (if provided)