Payflow

Developers

Payflow API for custom checkouts.

Authenticate with your Payflow secret. Create checkouts, capture payments, and send payouts from your own app.

Open operator console

Core resources

Send Authorization: Bearer <PAYFLOW_API_SECRET>. Amounts are major units (e.g. 25.00).

  • POST
    /api/v1/checkouts

    Create a hosted Payflow checkout. Returns checkoutUrl.

  • GET
    /api/v1/payments/:id

    Fetch checkout/payment status by chk_… id.

  • POST
    /api/v1/payments/:id/capture

    Capture an approved checkout into Payflow.

  • POST
    /api/v1/payouts

    Send a payout to a wallet email.

  • POST
    /api/v1/webhooks

    Inbound settlement webhook receiver.

Webhook events

checkout.approvedpayment.capturedpayment.deniedpayout.sentdispute.opened

Quick start

Create a checkout, send the buyer to checkoutUrl, then capture on return.

curl -X POST https://YOUR_DOMAIN/api/v1/checkouts \
  -H "Authorization: Bearer $PAYFLOW_API_SECRET" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 25.00,
    "currency": "USD",
    "description": "Order #1042",
    "success_url": "https://YOUR_DOMAIN/pay/success",
    "cancel_url": "https://YOUR_DOMAIN/pay/cancel"
  }'