Quickstart
Postman collection
5 min
to make development easier, we’ve put together a postman collection with pre built requests for all the cross river apis intro use this collection to explore, test, and build your integration directly in postman with minimal extra coding and setup required to immediately fork our collection, click just complete the postman collection /#configure your postman environment setup details, and start making calls in sandbox through postman access (bearer) token we've created our postman developer sandbox environment to provide a safe space to test the cross river apis in the cross river postman collection, you perform authentication using a bearer token to get the ids you need to set up the access (bearer) token required to run the collection get api credentials docid\ z mvwov p00 xx082nabk with these credentials you request and receive an access token to use for sending apis in our sandbox environment get access token docid\ kp 8xnezdhnatwylgxt22 once you receive your api credentials and b efore you can use our apis, you get an access token using the client id and client secret you received when you registered fork cross river collection head straight to our postman workspace to fork our collection once forked, don’t forget to set your environment variables for sandbox configure your postman environment to use the collection you just created, navigate to it, click environments, and select sandbox copy your cross river client id and client secret, and paste them into the client id and client secret fields for card payments, paste them into the ptpe client id and ptpe client secret fields now you’re ready obtain a token and begin to send requests run authorization/obtain token to generate your token for card payments, run card payments/authorization/get p2pe token the variable {{token}} (or ptpe token for card payments) is added automatically to your environment by a post reponse script when the token expires you need to follow step 1 again there are several variables that you might need to populate depending on which endpoint you're exercising for example, partner id , product id , configuration id and callback url there are also some variables that are populated through scripts, such as token and ptpe token that should not be populated manually ping the sandbox run a simple test to verify that you can connect to the cross river sandbox to send a ping request, in postman open collections > cross river api collection > authorization and run the ping endpoint modify requests to update a request, make your changes on the body tab values in double curly brackets pull from your environment variables check our apis intro to see which fields each endpoint accepts, and view requests in your preferred language