📄️ Introduction
For production-ready sample code, refer to the official SDKs:
📄️ Team Setup and API Key
For production-ready sample code, refer to the official SDKs:
📄️ Basic API Structure Overview
For production-ready sample code, refer to the official SDKs:
📄️ Customer APIs
Customer APIs enable you to create and manage customer profiles in MartianPay. A customer object represents an individual or entity making purchases through your platform, serving as the central point for tracking transactions, subscriptions, and payment history.
📄️ Manage Wallet APIs
Wallet Management APIs allow you to register and verify cryptocurrency wallet addresses for secure payouts. These verified addresses serve as pre-approved withdrawal destinations, ensuring funds are only sent to wallets you control.
📄️ Product APIs
Product APIs enable you to create and manage your product catalog in MartianPay. A product represents an item or service you sell, supporting everything from simple products to complex items with multiple variants, subscription plans, and rich media.
📄️ Payment Link APIs
Payment Links are shareable checkout URLs that enable you to sell products without building a custom payment experience. Simply create a link, share it with customers, and start accepting cryptocurrency payments.
📄️ Payment Intent APIs
A Payment Intent represents a customer's intent to make a payment. It tracks the entire payment lifecycle from creation to completion, handling all the complexity of cryptocurrency payments behind a simple API.
📄️ Refund APIs
Refund APIs enable you to return cryptocurrency payments to customers. Whether handling order cancellations, customer dissatisfaction, or error corrections, refunds ensure smooth financial operations and maintain customer trust.
📄️ Subscription APIs
Subscription APIs enable you to manage recurring payment agreements with customers. Subscriptions automate billing cycles for products or services, creating predictable recurring revenue for your business.
📄️ Payout APIs
Payout APIs allow you to withdraw funds from your MartianPay account balance to external cryptocurrency wallets. This feature is designed for secure, verified withdrawals to addresses you control.
📄️ Payroll APIs
Payroll APIs enable you to distribute cryptocurrency payments to multiple recipients efficiently. This feature is designed for bulk salary payments, contractor disbursements, and recurring employee compensation.