API Quick Reference

Complete endpoint catalog for the 3PAY Merchant API — methods, paths, authentication, rate limits, and quick descriptions.

API Quick Reference

Quick-scan catalog of every 3PAY merchant API endpoint.


Base URLs

EnvironmentBase URL
Productionhttps://pay.3pa-y.com/api/v1
SandboxAvailable in your sandbox dashboard

Authentication

All endpoints require the apikey header. Some require x-api-secret. See Authentication & Security for full details.


Invoice Payment Endpoints

MethodPathRate LimitDescription
POST/transaction/createWallet Gen (20/15min)Create a payment link with unique wallet address
GET/public/transaction/verifyStandard (100/15min)Check transaction status by ID
GET/public/transaction/listStandard (100/15min)List merchant transactions (max 100/page)
POST/public/transaction/cancelStandard (100/15min)Cancel an initiated transaction

Invoice Payments guide


Wallet Endpoints

MethodPathRate LimitDescription
POST/public/wallet/generateWallet Gen (20/15min)Generate persistent wallet for a user
GET/public/wallet/view/{userId}Standard (100/15min)Get wallet details and addresses
GET/public/wallet/balance/{userId}Standard (100/15min)Check user's current balance
POST/public/wallet/updateBalanceFinancial (30/15min)Manually adjust user balance
GET/public/user/transaction/listStandard (100/15min)List transactions for a specific user

Wallet Payments guide


Withdrawal & Payout Endpoints

MethodPathAuthRate LimitDescription
POST/public/user/withdrawal/createAPI KeyFinancial (30/15min)Create user withdrawal (auto-approved)
GET/public/withdrawal-requestsAPI KeyStandard (100/15min)List pending withdrawal requests
POST/public/withdrawal-requests/{id}/approveAPI Key + SecretFinancial (30/15min)Approve pending withdrawal
POST/public/withdrawal-requests/{id}/rejectAPI Key + SecretFinancial (30/15min)Reject pending withdrawal
GET/public/payout/getAPI KeyStandard (100/15min)Query payout details (read-only)
POST/public/payout/createDISABLED — use dashboard with 2FA

Pay-Outs & Withdrawals guide


Webhook Management Endpoints

These use JWT authentication (dashboard session), not API Key.

MethodPathDescription
PUT/webhook/urlUpdate your webhook URL
POST/webhook/testSend a test webhook to your endpoint
GET/webhook/eventsView webhook delivery history (max 100/page)
POST/webhook/retry/{webhookEventId}Manually retry a failed webhook
GET/webhook/secretView your webhook secret (masked)
POST/webhook/secret/rotateGenerate a new webhook secret

Webhook Handling guide


Merchant Endpoints

MethodPathRate LimitDescription
GET/public/getMerchantDetailsStandard (100/15min)Get your merchant profile info

Disabled Endpoints

These endpoints return 404:

EndpointReason
POST /public/payout/createPayouts moved to dashboard-only with 2FA
/refund/*Refund feature disabled
/token/mint, /token/burnGoldy tokenization archived
/test-notifications/*Debug endpoints removed

Common Error Responses

StatusMeaningExample Message
400Validation errorMissing required field: amount
401Missing/invalid API key or secretAPI key required
404Invalid ID or disabled endpointResource not found
429Rate limit exceededAPI rate limit exceeded. Try again in 15 minutes.
500Server errorInternal server error

All errors follow the format:

{ "success": false, "message": "Error description here" }

Pagination Parameters

All list endpoints accept these query parameters:

ParameterTypeDefaultMaxDescription
pageinteger1Page number
limitinteger10–50100Results per page (capped server-side)
statusstringFilter by status
searchstringSearch by relevant fields
sortBystringcreatedAtSort field: createdAt, updatedAt, amount, status, confirmedAt
sortOrderstringdescasc or desc

Invalid sortBy values silently fall back to createdAt.