Quick Start Guide
Welcome to the UCanPay Quick Start Guide. This guide is designed to help you make your first API call and understand the flow of a typical UCanPay payment process.
Step 1: Set Up Your Development Environment
Before making your first API call:
Ensure that you have the latest version of Node.js installed if you're using JavaScript.
For other languages, make sure you have the relevant environment and HTTP client ready.
Step 2: Obtain Your API Keys
Log in to your UCanPay account and navigate to the API section to find your API keys. You'll need the public_key and secret_key for making API calls.
Step 3: Make Your First API Call
The following is an example of a simple API call to the UCanPay API to create a new payment order:
Replace YOUR_SECRET_KEY with your actual secret key.
Step 4: Handle the API Response
The API will respond with JSON-formatted data. Here's how to handle it:
Step 5: Next Steps
After receiving a successful response, you can:
Check the transaction status.
Implement webhook listeners for payment events.
Start integrating UCanPay payment options into your checkout flow.
Help and Support
If you need help or have questions during this process, please visit our Support & Community section or check out the User Guides.
Start building with UCanPay today and make payments easy for your customers!