# Rootline payments API

**Canonical:** https://apis.io/apis/rootline/payments-api/  
**Provider:** Rootline — https://apis.io/providers/rootline/  
**Base URL:** https://payment-api.staging.rootline.com  
**Documentation:** https://docs.rootline.com/guides/payments

Rootline payments API is one of 4 APIs that [Rootline](https://apis.io/providers/rootline/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

Rootline payments API as documented publicly: 11 operations. Contract generated from the documentation by API Evangelist (2026-10-29); not the provider's own document.

## Operations (11)

| Method | Path | Summary |
|---|---|---|
| GET | `/payments/{paymentId}` | Fetch the payment status after a redirect. |
| GET | `/v1/accounts/{accountId}` | Retrieve the accountPublishableKey from an account |
| DELETE | `/v1/accounts/{accountId}/allowed-domains` | Remove a domain from an account |
| GET | `/v1/accounts/{accountId}/allowed-domains` | Retrieve allowed domains of an account |
| POST | `/v1/accounts/{accountId}/allowed-domains` | Add multiple domains to an account |
| GET | `/v1/customers` | GET /v1/customers |
| POST | `/v1/customers` | Create a customer. |
| GET | `/v1/customers/{customerId}/payment-tokens` | List all active tokens for a customer. |
| GET | `/v1/payment-tokens/{id}` | Retrieve a token. |
| GET | `/v1/payments` | GET /v1/payments |
| GET | `/v1/payments/pmt_1oZcjWpZZM1wPn722lq2vQ` | GET /v1/payments/pmt_1oZcjWpZZM1wPn722lq2vQ |

## Machine-readable artifacts (7)

- **OpenAPI** — https://artifacts.apis.io/rootline/openapi/_ae-authored/rootline-payments-openapi-generated.yml
- **JSONSchema** — https://artifacts.apis.io/rootline/json-schema/rootline-get-payments-paymentid-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/rootline/json-schema/rootline-get-v1-accounts-accountid-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/rootline/json-schema/rootline-post-v1-customers-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/rootline/json-schema/rootline-post-v1-customers-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/rootline/json-schema/rootline-get-v1-customers-customerid-payment-tokens-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/rootline/json-schema/rootline-get-v1-payment-tokens-id-response-schema.json

## Other Rootline APIs (3)

- [Rootline API](https://apis.io/apis/rootline/rootline-api/)
- [Rootline core API](https://apis.io/apis/rootline/core-api/)
- [Rootline in person payments API](https://apis.io/apis/rootline/in-person-payments-api/)

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/rootline/payments-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/rootline/.
