List Transactions

List transactions based on Order, Checkout, User or Subscription ID.

Overview

The List Transactions APIs allow retrieving of transactions for various linked entities within Paddle. Transaction data can be retrieved using a User ID, Subscription ID, Order ID or Checkout ID.

Transactions by User

Endpoint: https://vendors.paddle.com/api/2.0/user/{id}/transactions

Example Request


curl -X POST \
     -d 'vendor_id=123' \
     -d 'vendor_auth_code=123456abc...' \
     https://vendors.paddle.com/api/2.0/user/12345/transactions

Transactions by Subscription

Endpoint: https://vendors.paddle.com/api/2.0/subscription/{id}/transactions

Example Request


curl -X POST \
     -d 'vendor_id=123' \
     -d 'vendor_auth_code=123456abc...' \
     https://vendors.paddle.com/api/2.0/subscription/12345/transactions

Transactions by Order

Endpoint: https://vendors.paddle.com/api/2.0/order/{id}/transactions

Example Request


curl -X POST \
     -d 'vendor_id=123' \
     -d 'vendor_auth_code=123456abc...' \
     https://vendors.paddle.com/api/2.0/order/12345/transactions

Transactions by Checkout

Endpoint: https://vendors.paddle.com/api/2.0/checkout/{id}/transactions

Example Request


curl -X POST \
     -d 'vendor_id=123' \
     -d 'vendor_auth_code=123456abc...' \
     https://vendors.paddle.com/api/2.0/checkout/12345-abc67-defgh89ijk/transactions

Example Response


{
    "success": true,
    "response": [
        {
            "order_id": "1042907-384786",
            "checkout_id": "4795118-chre895f5cfaf61-4d7dafa9df",
            "amount": "5.00",
            "currency": "USD",
            "status": "completed",
            "created_at": "2017-01-22 00:38:43",
            "is_subscription": true,
            "subscription": {
                "subscription_id": 123456,
                "status": "active"
            },
            "user": {
                "user_id": 29777,
                "email": "example@paddle.com",
                "marketing_consent": true
            },
            "receipt_url": "https://my.paddle.com/receipt/1042907-384786/4795118-chre895f5cfaf61-4d7dafa9df"
        },
        {
            "order_id": "1042907-384785",
            "checkout_id": "4795118-chre895f5cfaf61-4d7dafa9df",
            "amount": "5.00",
            "currency": "USD",
            "status": "refunded",
            "created_at": "2016-12-07 12:25:09",
            "is_subscription": true,
            "subscription": {
                "subscription_id": 123456,
                "status": "active"
            },
            "user": {
                "user_id": 29777,
                "email": "example@paddle.com",
                "marketing_consent": true
            },
            "receipt_url": "https://my.paddle.com/receipt/1042907-384785/4795118-chre895f5cfaf61-4d7dafa9df"
        }
    ]
}
Was this page helpful?