Code Samples
Understanding code samples in Rapyd documentation.
Rapyd documentation contains code samples for your convenience. There are cURL samples for requests and JSON responses for all API methods. Most of the API methods also include sample requests in various programming languages.
JSON - You can run any of the JSON examples using any tool you like. You must follow the requirements for headers and signatures, as specified in Request Signatures and the documentation for each method.
Programming languages - You can run the example requests using your own workbench.
Note
Some of the example code requests contain IDs of objects. To run these examples in your own sandbox, you must replace these IDs with IDs of objects you created in your sandbox.
For API methods that have more than one request example, the code samples in multiple programming languages cover only the first request example provided. You can duplicate and modify these files according to your own requirements.