Skip to main content
The Rampnow Postman collection contains every partner API endpoint, with a pre-request script that signs each request for you. Use it to try the API before you write any code.

Rampnow partner API collection

Collection JSON, generated from the same OpenAPI spec as this API reference.

Prerequisites

  • A Rampnow Partner Dashboard account, with your API key and secret from the API Hub
  • The Postman app or Postman on the web

Set up the collection

1

Import the collection

In Postman, choose Import, paste this link and confirm:
2

Add your credentials as collection variables

Open the imported collection, go to the Variables tab and add two variables. They must be collection variables: the signing script doesn’t read environment variables.Mark apiSecret as secret, and don’t share or export the collection with it filled in.
3

Choose the environment

The collection’s baseUrl variable defaults to production, https://api.rampnow.io. To use the sandbox, set it to https://api.sandbox.rampnow.io and use your sandbox key and secret. Keys only work on their own environment.
4

Send a request

Start with Onramp & Offramp Intent → Get a quote, edit the body and choose Send.

What’s in the collection

Requests are grouped into folders by API section: Each request uses the full path, for example {{baseUrl}}/api/partner/v1/ext/ramp_order/quote, so baseUrl is the host only.

How request signing works

The collection runs this pre-request script before every request:
It follows the signing rules:
  1. Reads apiKey and apiSecret from the collection variables.
  2. Takes the raw request body, or an empty string if there is none.
  3. Builds the message timestamp + method + path with query + body and signs it with HMAC-SHA256 using your secret.
  4. Adds the X-RAMPNOW-API-KEY, X-RAMPNOW-TIMESTAMP and X-RAMPNOW-SIGN headers.
Because the body is signed exactly as Postman sends it, you can edit request bodies freely.
Two differences from the rules your own code should follow:
  • The script uses Date.now(), a timestamp in milliseconds, which the API currently accepts. Your own code must send seconds, as described in Authentication.
  • The script signs the body on any method. Leave the body of GET requests empty, or the signature won’t match.

Troubleshooting

  • 401 with code 100002: check that apiKey and apiSecret are set as collection variables (not environment variables), and that the key matches the baseUrl environment. See Authentication → Troubleshooting.
  • 200 with a non-zero code: the request reached the API but failed. Look the code up in Error Codes.

Next steps