Apipay API
The Apipay API lets you accept payments, manage customers, and react to payment events in real time. All requests and responses use JSON, and every request must be authenticated with a bearer API key.
Authentication
Pass your secret API key as a bearer token on every request:
Authorization: Bearer sk_live_...
Use a sk_test_... key against the sandbox server to build and test
without moving real money.
Version 1.0.0
Base URL
https://api.apipay.id/v1https://sandbox.apipay.id/v1Payments
Create and manage payments.
- GETList payments
/payments - POSTCreate a payment
/payments - GETRetrieve a payment
/payments/{paymentId} - POSTCancel a payment
/payments/{paymentId}/cancel
Customers
Store customer details for repeat payments.
- GETList customers
/customers - POSTCreate a customer
/customers - GETRetrieve a customer
/customers/{customerId}