Documentation Index
Fetch the complete documentation index at: https://docs.noxpay.io/llms.txt
Use this file to discover all available pages before exploring further.
Covers templates: onramp (BRL → balance) and onramp_instant (BRL → external wallet). Fields marked with a template name are only present for that variant.
Get a single onramp
GET /v2/onramp/{id}
Authorization: Bearer <your-api-key>
Path parameters
| Parameter | Description |
|---|
id | The end2end identifier (e.g. NOXabc456) |
Response 200 OK
{
"end2end": "NOXabc456",
"component": "success",
"state": "DONE",
"template": "onramp_instant",
"created_at": "2024-05-01T10:00:00Z",
"updated_at": "2024-05-01T10:08:00Z",
"status": { "en": "Success", "pt": "Sucesso" },
"substatus": { "en": "Success", "pt": "Sucesso" },
"message": {
"en": "Transaction completed successfully",
"pt": "Transação concluída com sucesso"
},
"error_message": { "en": "", "pt": "" },
"attributes": {
"quote": 5.45,
"ref_quote": 5.30,
"fees": 10.00,
"currency_entry": "BRL",
"currency_exit_received": "USDT (TRX)",
"currency_exit_received_code": "USDT",
"amount_payment": 550.00,
"amount_received": 100.00,
"pix_e2e": "E00038166202405011000...",
"client_name": "Maria Souza",
"client_tax_id": "98765432100",
"expiration": "2024-05-01T10:30:00Z",
"return_url": "https://yourapp.com/done",
"external_code": "ref_99",
"webhook": "https://yourapp.com/webhooks/nox",
"template": "onramp_instant",
"wallet": "TXyZ...abc",
"tx_hash": "0xabc123...",
"network_fee": "1.00"
}
}
Attributes
| Field | Type | Template | Description |
|---|
quote | float | all | Effective BRL→crypto exchange rate used |
ref_quote | float | all | Mid-market reference rate |
fees | float | all | Total fees (BRL) |
currency_entry | string | all | Source currency — always BRL |
currency_exit_received | string | all | Destination asset display name (e.g. USDT (TRX)) |
currency_exit_received_code | string | all | Destination currency code |
amount_payment | float | all | BRL amount paid |
amount_received | float | all | Crypto amount received |
pix_e2e | string | all | PIX end-to-end ID (populated after payment) |
client_name | string | all | Customer name |
client_tax_id | string | all | Customer CPF or CNPJ |
expiration | string | all | Session expiration timestamp (ISO 8601) |
return_url | string | all | Post-checkout redirect URL |
external_code | string | all | Merchant reference |
webhook | string | all | Webhook URL |
template | string | all | Template name (onramp or onramp_instant) |
wallet | string | onramp_instant | Destination wallet address |
tx_hash | string | onramp_instant | On-chain transaction hash of the delivery |
network_fee | string | onramp_instant | Blockchain network fee charged |
404 — transaction not found or does not belong to your account.
For all status / substatus values see Onramp statuses.
List onramps
GET /v2/onramps
Authorization: Bearer <your-api-key>
Query parameters
| Parameter | Type | Description |
|---|
limit | integer | Max results per page (default: 20, max: 100) |
offset | integer | Pagination offset (default: 0) |
pix_e2e | string | Filter by PIX end-to-end ID |
client_tax_id | string | Filter by customer CPF or CNPJ |
wallet | string | Filter by destination wallet address |
date_from | string | Start date filter — YYYY-MM-DD |
date_to | string | End date filter — YYYY-MM-DD |
Response 200 OK
{
"version": "v1",
"total": 10,
"limit": 20,
"offset": 0,
"results": [ ]
}
Each item in results has the same shape as the single GET response.