> For a complete page index, fetch https://docs.transak.com/llms.txt

# Get Partner Orders

GET https://api-gateway-stg.transak.com/api/v2/partner/orders

The **Get Partner Orders** is an **authenticated API** that returns **your orders across all your users**. Call
it from your backend with only your Partner Access Token.

To fetch the orders of one user with the user's token, use [Get User Orders](/api/whitelabel/orders/get-user-orders).

Reference: https://docs.transak.com/api/whitelabel/orders/get-partner-orders

## Servers

- `https://api-gateway-stg.transak.com` (Staging, default)
- `https://api-gateway.transak.com` (Production)

## Request

### Query parameters

- `partnerOrderId` (string, optional) — Your own unique order ID.
- `status` (list of string, optional) — The order status, for example `COMPLETED`.
- `walletAddress` (string, optional) — The user's wallet address.
- `productsAvailed` (list of enum, optional) — `BUY`, `SELL`, or both. Default: both.
  - Allowed values: `BUY`, `SELL`
- `startDate` (date, optional) — Start date in `YYYY-MM-DD` format (UTC, inclusive). Send it with `endDate`. It must be on or after `2019-01-01`, and at most 31 days before `endDate`. Without both dates, the last 3 months are searched.
- `endDate` (date, optional) — End date in `YYYY-MM-DD` format (UTC, inclusive). Send it with `startDate`. A date after today counts as today.
- `limit` (integer, optional, default: 100) — The number of orders per page, from 1 to 500.
- `offset` (integer, optional, default: 0) — The number of orders to skip. To get the next page, set `offset` to `offset + limit` while `pagination.hasMore` is `true`.

### Headers

- `x-access-token` (string, required) — Your Partner Access Token, valid for 7 days. See [how to create a Partner Access Token](/guides/how-to-create-partner-access-token).

## Response

### 200

200 - Success

- `data` (list of PartnerOrder, required) — The matching orders, newest first. Empty when no order matches.
- `pagination` (ApiV2PartnerOrdersGetResponsesContentApplicationJsonSchemaPagination, required)

## Errors

### 400 Bad Request Error

400 - Bad Request

- `error` (ApiV2PartnerOrdersGetResponsesContentApplicationJsonSchemaError, required)

### 401 Unauthorized Error

401 - Unauthorized

- `error` (ApiV2PartnerOrdersGetResponsesContentApplicationJsonSchemaError, required)

### 403 Forbidden Error

403 - Forbidden

- `error` (ApiV2PartnerOrdersGetResponsesContentApplicationJsonSchemaError, required)

### 500 Internal Server Error

500 - Internal Server Error

- `error` (ApiV2PartnerOrdersGetResponsesContentApplicationJsonSchemaError, required)

## Types

### PartnerOrder

- `orderId` (string, required) — Transak's order ID.
- `partnerUserId` (string, required) — Transak's ID for the user.
- `status` (enum, required) — Status of the order. See [How to Track Order Status](/guides/track-order-status#order-status-reference) for how an order moves between statuses, and [Webhooks](/features/webhooks#order-webhooks) for the webhook event sent for each status.
  - Allowed values: `AWAITING_PAYMENT_FROM_USER`, `PAYMENT_DONE_MARKED_BY_USER`, `PROCESSING`, `PENDING_DELIVERY_FROM_TRANSAK`, `ON_HOLD_PENDING_DELIVERY_FROM_TRANSAK`, `COMPLETED`, `CANCELLED`, `FAILED`, `REFUNDED`, `EXPIRED`
- `isBuyOrSell` (enum, required)
  - Allowed values: `BUY`, `SELL`
- `fiatCurrency` (string, required)
- `cryptoCurrency` (string, required)
- `paymentMethod` (string, required)
- `network` (string, required)
- `walletAddress` (string, required)
- `fiatAmount` (double, required)
- `cryptoAmount` (double, required)
- `partnerOrderId` (string, optional) — Your own order ID. Not returned when the order has none.
- `networkId` (string, optional)
- `quoteId` (string, optional)
- `fiatAmountInUsd` (double, optional)
- `amountPaid` (double, optional)
- `conversionPrice` (double, optional)
- `totalFeeInFiat` (double, optional)
- `paymentDetails` (list of PartnerOrderPaymentDetailsItems, optional) — Payment details of the order. Empty for Apple Pay orders and for card orders without a redirect URL.
- `txHash` (string, optional)
- `walletLink` (string, optional)
- `transactionLink` (string, optional)
- `cancelReason` (string, optional) — Why the order was cancelled or failed, as a summary with personal data removed.
- `addressAdditionalData` (PartnerOrderAddressAdditionalData, optional)

### ApiV2PartnerOrdersGetResponsesContentApplicationJsonSchemaPagination

- `limit` (integer, required) — The page size used.
- `offset` (integer, required) — The number of orders skipped.
- `hasMore` (boolean, required) — `true` when there is another page.
- `total` (integer, optional) — The number of orders that match. Not returned when you search by `partnerOrderId` without `startDate` and `endDate`.

### ApiV2PartnerOrdersGetResponsesContentApplicationJsonSchemaError

- `statusCode` (integer, required)
- `message` (string, required)

### PartnerOrderPaymentDetailsItems

- `fiatCurrency` (string, optional)
- `paymentMethod` (string, optional)
- `name` (string, optional)
- `fields` (list of PartnerOrderPaymentDetailsItemsFieldsItems, optional)
- `redirectUrl` (string, optional)

### PartnerOrderAddressAdditionalData

- `name` (string, optional)
- `displayName` (string, optional)
- `value` (string, optional)
- `requestId` (string, optional)

### PartnerOrderPaymentDetailsItemsFieldsItems

- `name` (string, optional)
- `value` (string, optional)

## Examples

### By partnerOrderId

**Response**

```json
{
  "data": [
    {
      "orderId": "4e2a2d94-2bd9-4f7a-9f9e-9b068c7664e7",
      "partnerUserId": "d73b8966-33d9-4b8d-96ba-4ad23c554d92",
      "status": "COMPLETED",
      "isBuyOrSell": "BUY",
      "fiatCurrency": "EUR",
      "cryptoCurrency": "ETH",
      "paymentMethod": "credit_debit_card",
      "network": "ethereum",
      "walletAddress": "0x6353D15E8A61df4eD412746654D44B8188a737C1",
      "fiatAmount": 50,
      "cryptoAmount": 0.02024522,
      "partnerOrderId": "ENG-18644-e2e-1793866234",
      "networkId": "",
      "quoteId": "6023ccfc-bebc-42af-8e61-8572aec97a56",
      "fiatAmountInUsd": 56.21,
      "amountPaid": 50,
      "conversionPrice": 0.00044251846994535523,
      "totalFeeInFiat": 4.25,
      "paymentDetails": [
        {
          "fiatCurrency": "EUR",
          "paymentMethod": "credit_debit_card",
          "name": "Credit/Debit Card",
          "fields": [],
          "redirectUrl": "https://authentication-devices.sandbox.checkout.com/sessions-interceptor/sid_exin5yabuv2yvajnlthxjze5ym"
        }
      ],
      "txHash": "DUMMY_TX_ID",
      "walletLink": "https://sepolia.etherscan.io/address/0x6353D15E8A61df4eD412746654D44B8188a737C1",
      "transactionLink": "https://sepolia.etherscan.io/tx/DUMMY_TX_ID",
      "addressAdditionalData": {
        "name": "",
        "displayName": "",
        "value": "",
        "requestId": ""
      }
    }
  ],
  "pagination": {
    "limit": 100,
    "offset": 0,
    "hasMore": false
  }
}
```

**SDK Code**

```python By partnerOrderId
import requests

url = "https://api-gateway-stg.transak.com/api/v2/partner/orders"

querystring = {"partnerOrderId":"ENG-18644-e2e-1793866234"}

headers = {"x-access-token": "PARTNER_ACCESS_TOKEN"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript By partnerOrderId
const url = 'https://api-gateway-stg.transak.com/api/v2/partner/orders?partnerOrderId=ENG-18644-e2e-1793866234';
const options = {method: 'GET', headers: {'x-access-token': 'PARTNER_ACCESS_TOKEN'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go By partnerOrderId
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api-gateway-stg.transak.com/api/v2/partner/orders?partnerOrderId=ENG-18644-e2e-1793866234"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("x-access-token", "PARTNER_ACCESS_TOKEN")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby By partnerOrderId
require 'uri'
require 'net/http'

url = URI("https://api-gateway-stg.transak.com/api/v2/partner/orders?partnerOrderId=ENG-18644-e2e-1793866234")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-access-token"] = 'PARTNER_ACCESS_TOKEN'

response = http.request(request)
puts response.read_body
```

```java By partnerOrderId
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api-gateway-stg.transak.com/api/v2/partner/orders?partnerOrderId=ENG-18644-e2e-1793866234")
  .header("x-access-token", "PARTNER_ACCESS_TOKEN")
  .asString();
```

```php By partnerOrderId
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api-gateway-stg.transak.com/api/v2/partner/orders?partnerOrderId=ENG-18644-e2e-1793866234', [
  'headers' => [
    'x-access-token' => 'PARTNER_ACCESS_TOKEN',
  ],
]);

echo $response->getBody();
```

```csharp By partnerOrderId
using RestSharp;

var client = new RestClient("https://api-gateway-stg.transak.com/api/v2/partner/orders?partnerOrderId=ENG-18644-e2e-1793866234");
var request = new RestRequest(Method.GET);
request.AddHeader("x-access-token", "PARTNER_ACCESS_TOKEN");
IRestResponse response = client.Execute(request);
```

```swift By partnerOrderId
import Foundation

let headers = ["x-access-token": "PARTNER_ACCESS_TOKEN"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api-gateway-stg.transak.com/api/v2/partner/orders?partnerOrderId=ENG-18644-e2e-1793866234")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### By Date Range and Status

**Response**

```json
{
  "data": [
    {
      "orderId": "4e2a2d94-2bd9-4f7a-9f9e-9b068c7664e7",
      "partnerUserId": "d73b8966-33d9-4b8d-96ba-4ad23c554d92",
      "status": "COMPLETED",
      "isBuyOrSell": "BUY",
      "fiatCurrency": "EUR",
      "cryptoCurrency": "ETH",
      "paymentMethod": "credit_debit_card",
      "network": "ethereum",
      "walletAddress": "0x6353D15E8A61df4eD412746654D44B8188a737C1",
      "fiatAmount": 50,
      "cryptoAmount": 0.02024522,
      "partnerOrderId": "ENG-18644-e2e-1793866234",
      "networkId": "",
      "quoteId": "6023ccfc-bebc-42af-8e61-8572aec97a56",
      "fiatAmountInUsd": 56.21,
      "amountPaid": 50,
      "conversionPrice": 0.00044251846994535523,
      "totalFeeInFiat": 4.25,
      "paymentDetails": [
        {
          "fiatCurrency": "EUR",
          "paymentMethod": "credit_debit_card",
          "name": "Credit/Debit Card",
          "fields": [],
          "redirectUrl": "https://authentication-devices.sandbox.checkout.com/sessions-interceptor/sid_exin5yabuv2yvajnlthxjze5ym"
        }
      ],
      "txHash": "DUMMY_TX_ID",
      "walletLink": "https://sepolia.etherscan.io/address/0x6353D15E8A61df4eD412746654D44B8188a737C1",
      "transactionLink": "https://sepolia.etherscan.io/tx/DUMMY_TX_ID",
      "addressAdditionalData": {
        "name": "",
        "displayName": "",
        "value": "",
        "requestId": ""
      }
    }
  ],
  "pagination": {
    "limit": 100,
    "offset": 0,
    "hasMore": false,
    "total": 1
  }
}
```

**SDK Code**

```python By Date Range and Status
import requests

url = "https://api-gateway-stg.transak.com/api/v2/partner/orders"

querystring = {"endDate":"2026-11-20","limit":"100","offset":"0","productsAvailed":"[\"BUY\"]","startDate":"2026-11-01","status":"[\"COMPLETED\"]"}

headers = {"x-access-token": "PARTNER_ACCESS_TOKEN"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript By Date Range and Status
const url = 'https://api-gateway-stg.transak.com/api/v2/partner/orders?endDate=2026-11-20&limit=100&offset=0&productsAvailed=%5B%22BUY%22%5D&startDate=2026-11-01&status=%5B%22COMPLETED%22%5D';
const options = {method: 'GET', headers: {'x-access-token': 'PARTNER_ACCESS_TOKEN'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go By Date Range and Status
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api-gateway-stg.transak.com/api/v2/partner/orders?endDate=2026-11-20&limit=100&offset=0&productsAvailed=%5B%22BUY%22%5D&startDate=2026-11-01&status=%5B%22COMPLETED%22%5D"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("x-access-token", "PARTNER_ACCESS_TOKEN")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby By Date Range and Status
require 'uri'
require 'net/http'

url = URI("https://api-gateway-stg.transak.com/api/v2/partner/orders?endDate=2026-11-20&limit=100&offset=0&productsAvailed=%5B%22BUY%22%5D&startDate=2026-11-01&status=%5B%22COMPLETED%22%5D")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-access-token"] = 'PARTNER_ACCESS_TOKEN'

response = http.request(request)
puts response.read_body
```

```java By Date Range and Status
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api-gateway-stg.transak.com/api/v2/partner/orders?endDate=2026-11-20&limit=100&offset=0&productsAvailed=%5B%22BUY%22%5D&startDate=2026-11-01&status=%5B%22COMPLETED%22%5D")
  .header("x-access-token", "PARTNER_ACCESS_TOKEN")
  .asString();
```

```php By Date Range and Status
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api-gateway-stg.transak.com/api/v2/partner/orders?endDate=2026-11-20&limit=100&offset=0&productsAvailed=%5B%22BUY%22%5D&startDate=2026-11-01&status=%5B%22COMPLETED%22%5D', [
  'headers' => [
    'x-access-token' => 'PARTNER_ACCESS_TOKEN',
  ],
]);

echo $response->getBody();
```

```csharp By Date Range and Status
using RestSharp;

var client = new RestClient("https://api-gateway-stg.transak.com/api/v2/partner/orders?endDate=2026-11-20&limit=100&offset=0&productsAvailed=%5B%22BUY%22%5D&startDate=2026-11-01&status=%5B%22COMPLETED%22%5D");
var request = new RestRequest(Method.GET);
request.AddHeader("x-access-token", "PARTNER_ACCESS_TOKEN");
IRestResponse response = client.Execute(request);
```

```swift By Date Range and Status
import Foundation

let headers = ["x-access-token": "PARTNER_ACCESS_TOKEN"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api-gateway-stg.transak.com/api/v2/partner/orders?endDate=2026-11-20&limit=100&offset=0&productsAvailed=%5B%22BUY%22%5D&startDate=2026-11-01&status=%5B%22COMPLETED%22%5D")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### No Match

**Response**

```json
{
  "data": [],
  "pagination": {
    "limit": 100,
    "offset": 0,
    "hasMore": false,
    "total": 0
  }
}
```

**SDK Code**

```python No Match
import requests

url = "https://api-gateway-stg.transak.com/api/v2/partner/orders"

querystring = {"partnerOrderId":"UNKNOWN_PARTNER_ORDER_ID"}

headers = {"x-access-token": "PARTNER_ACCESS_TOKEN"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript No Match
const url = 'https://api-gateway-stg.transak.com/api/v2/partner/orders?partnerOrderId=UNKNOWN_PARTNER_ORDER_ID';
const options = {method: 'GET', headers: {'x-access-token': 'PARTNER_ACCESS_TOKEN'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go No Match
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api-gateway-stg.transak.com/api/v2/partner/orders?partnerOrderId=UNKNOWN_PARTNER_ORDER_ID"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("x-access-token", "PARTNER_ACCESS_TOKEN")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby No Match
require 'uri'
require 'net/http'

url = URI("https://api-gateway-stg.transak.com/api/v2/partner/orders?partnerOrderId=UNKNOWN_PARTNER_ORDER_ID")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-access-token"] = 'PARTNER_ACCESS_TOKEN'

response = http.request(request)
puts response.read_body
```

```java No Match
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api-gateway-stg.transak.com/api/v2/partner/orders?partnerOrderId=UNKNOWN_PARTNER_ORDER_ID")
  .header("x-access-token", "PARTNER_ACCESS_TOKEN")
  .asString();
```

```php No Match
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api-gateway-stg.transak.com/api/v2/partner/orders?partnerOrderId=UNKNOWN_PARTNER_ORDER_ID', [
  'headers' => [
    'x-access-token' => 'PARTNER_ACCESS_TOKEN',
  ],
]);

echo $response->getBody();
```

```csharp No Match
using RestSharp;

var client = new RestClient("https://api-gateway-stg.transak.com/api/v2/partner/orders?partnerOrderId=UNKNOWN_PARTNER_ORDER_ID");
var request = new RestRequest(Method.GET);
request.AddHeader("x-access-token", "PARTNER_ACCESS_TOKEN");
IRestResponse response = client.Execute(request);
```

```swift No Match
import Foundation

let headers = ["x-access-token": "PARTNER_ACCESS_TOKEN"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api-gateway-stg.transak.com/api/v2/partner/orders?partnerOrderId=UNKNOWN_PARTNER_ORDER_ID")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```