API Reference

Build with Our RESTful API

https://api.woodwardhexcelmerger.com/v1

Endpoints

POST /v1/payments

Create a new payment

GET /v1/payments/:id

Retrieve a payment

GET /v1/payments

List all payments

POST /v1/payments/:id/refund

Refund a payment

POST /v1/accounts

Create a customer account

GET /v1/accounts/:id

Retrieve account details

POST /v1/transfers

Create a transfer

GET /v1/balances/:accountId

Get account balance

POST /v1/webhooks

Create a webhook endpoint

GET /v1/webhooks

List webhook endpoints

Example Response

{
  "id": "pay_abc123",
  "object": "payment",
  "amount": 1000,
  "currency": "usd",
  "status": "succeeded",
  "payment_method": "card",
  "created": 1640995200,
  "metadata": {}
}