Sandbox

The test key sk_test_… allows you to debug integration for free: rate calculation, order reading, and error handling.

What is available with the test key

Methodsk_test_…sk_live_…
GET /ping yes yes
GET /balance yes yes
POST /rates yes yes
POST /shipments no yes
GET /shipments yes yes
GET /shipments/{id} yes yes
POST /shipments/{id}/cancel yes yes
POST /shipments/cancel yes yes
GET /shipments/{id}/label yes yes
GET /shipments/{id}/tracking yes yes
GET /shipments/{id}/pickup_slots yes yes
POST /shipments/{id}/pickup no yes
POST /shipments/{id}/pickup/cancel yes yes

What happens when purchasing

Label purchase and pickup order may charge money, so the test key does not execute them and immediately responds with 403:

JSON (403)
{
    "error": {
        "code": "test_key_cannot_buy",
        "message": "The test key does not buy labels, use a live key"
    }
}

How to debug integration

How rates differ

The test key calculates rates through test carrier connections, so prices and carrier lists may differ from live ones. Always request rates with a live key before purchasing.