Obtaining API Credentials
Follow these steps to obtain both your sandbox and production API credentials
To obtain your Sandbox API credentials, follow these steps:
- Start the application process by clicking on the "Apply Sandbox Credentials" link.
- Wait for the Pockyt team to review and approve your application, which typically takes about 2 days.
- Once approved, Pockyt will provide you with a unique secret token for the Sandbox environment.
- The base URL for the Sandbox environment API is https://mapi.yuansferdev.com.
- Use the RESTful endpoints relevant to your use case in test mode credentials to avoid incurring costs.
- Ensure your Sandbox environment includes the front-end user interface for online payment workflows for optimal integration and testing.
- By completing these steps, you can set up a Pockyt Sandbox account to test and refine your integration, ensuring a secure and user-friendly payment experience for your customers.
To obtain your Production API credentials, follow these steps:
- Click on Login and select Create Account to access the 10-step merchant application form.
- Enter your credentials and submit the required documents, including a business license or registration, a voided check or bank letter with the company name, and government-issued photo identification.
- Pockyt's team will review your application and submit it to each digital wallet service they work with.
- Once approved, Pockyt will automatically activate your live accounts, which usually takes 1-2 business days for processing and approval.
- You will be notified of your approval status and receive your Merchant No. and Store No. via email.
- The base URL for the Production environment is https://mapi.yuansfer.com
- Log in to your account to collect your API token, necessary for building API parameters.
- Each API request must include a verifySign parameter, which is the calculated MD5 hash value of your API token, enabling Pockyt to authenticate and authorize your API calls. For further details, refer to "Signing API Parameters."
Installing Digital Wallet Test Applications
In order to test the customer-presented QR code payment scenario, you will need to install a test application onto a mobile device in order to generate the payment barcode.
Please also provide the Apple ID's and Google Play ID's associated with the mobile devices that you will be installing the sandbox digital wallet applications for testing, so that we can forward you the invitations from iOS Testflight and the Google Play store to install these test applications
There are numerous test digital wallet apps available, but It is only necessary to install a single digital wallet type onto your mobile device in order to test the full transaction flows.
Digital Wallet | iOS Test Application | Android Test Application |
---|---|---|
PayPal | Provide Apple ID's to support | Provide Google Play ID's to support |
CashApp | Provide Apple ID's to support | Provide Google Play ID's to support |
AliPay | Not Available | Download directly from AliPay |
On an android device, scan the QR Code image below, which will direct you to a URL hosted by AliPay that allows you to download and install the test digital wallet application.
Updated 6 months ago