APM Withdrawal Integration Guide
This document describes the end-to-end APM (Alternative Payment Method) Withdrawal flow, including prerequisites, API endpoints, request/response examples, and important behavioral notes. Follow the steps sequentially for a successful integration.
Overview
Flow Summary
- Get Active APM Solutions: Fetch available APM solutions for the merchant.
- Get APM PSP Required Fields: Retrieve PSP-specific required input fields.
- Create APM Account Token: Create a new customer and generate a token for future APM transactions.
- Get Customer Token: Retrieve existing customer tokens.
- Add New Customer Token: Create a new customer and generate a token.
- Refresh Customer Token: Regenerate an expired token.
- Create Payment Request (Deposit): Initiate a deposit required before withdrawal.
- Create Withdrawal Request (APM Payout): Initiate the APM payout.
Environment
| Environment | Base URL |
|---|---|
| Staging | https://staging.paymid.com |
| Production | https://app.paymid.com |
Authentication
All endpoints require Basic Authentication using your App Key and Secret Key.