Payment APIs built for developers
RESTful APIs, webhook callbacks and a full sandbox environment — integrate in a few lines of code.
Create a payment
POST /v1/payments HTTP/1.1
Host: api.okopay.com
Authorization: Bearer sk_test_51J...
{
"amount": 1999,
"currency": "USD",
"method": "card",
"reference": "order_10086",
"return_url": "https://shop.example.com/done"
}{
"id": "pay_8f2c1a9b",
"status": "requires_action",
"amount": 1999,
"currency": "USD",
"next_action": { "type": "redirect", "url": "https://checkout.okopay.com/c/8f2c1a9b" }
}API capabilities
Acquiring API
Create payments, query status, issue refunds and handle disputes.
Collection API
Open local accounts, query incoming funds and consolidate balances.
Payout API
Batch payouts, status webhooks, balance and limit management.
FX API
Live quotes, rate locking, conversion execution and statements.
Full API documentation opens with your merchant account.
Ready to write your first line of code?
Contact us for sandbox access and try the OKOPAY API today.