API Endpoints
All Retempo API requests go to the base URL below. The dashboard lets you manage your services, payment plans, and subscriptions through a visual interface.
All endpoints follow the pattern
https://api.retempo.xyz/api/v1/{resource}. For example, to list your services you would call GET https://api.retempo.xyz/api/v1/services.
Field Formats
Retempo enforces specific formats for IDs, amounts, addresses, hashes, and timestamps. Use this table as a quick reference when constructing request bodies.IDs
All Retempo resource IDs are cuid strings. They are generated server-side and returned in API responses. You do not generate IDs yourself — store the IDs returned by create endpoints and reference them in subsequent requests.Amounts
All monetary amounts are denominated in USDC. You can pass amounts as a decimal string or as a number. Retempo does not accept amounts of0 — all amounts must be positive and non-zero.
Reference Hash (referenceHash)
The referenceHash field uniquely identifies a settlement on-chain. It must be a bytes32 hex string: the prefix 0x followed by exactly 64 hexadecimal characters (32 bytes total, 66 characters including the prefix).
Wallet Addresses
ThepayerAddress and merchantAddress fields accept standard EVM wallet addresses: the prefix 0x followed by exactly 40 hexadecimal characters. Both addresses must be non-zero — passing the zero address (0x0000000000000000000000000000000000000000) causes Arc to reject the settlement with an InvalidAddress error.
Date and Time Fields
All date/time fields across the Retempo API accept and return ISO 8601 strings. Always use UTC (theZ suffix or +00:00 offset) to avoid timezone-related mismatches.
The following fields follow this format:
Currency
All amounts in Retempo are denominated in USDC. Thecurrency field defaults to "USDC" and does not need to be specified explicitly in most requests. Do not pass amounts in other currencies — Retempo does not perform currency conversion.
Content-Type
Every API request that includes a body must set theContent-Type header to application/json. Requests without this header, or with a mismatched content type, will be rejected.
The Retempo API always returns responses with
Content-Type: application/json, including error responses. Parse the error field on non-2xx responses to read the error message.