Merchant API//
- Capture a charge
List charges
Fetch a charge
Update a charge
Cancel a charge
Capture a charge
Capture an authorized charge.
Security
bearerAuth or basicAuth
Fields used while capturing a charge.
- Mock serverhttps://docs.resolvepay.com/_mock/merchant-api/openapi/charges/{charge_id}/capture
- Sandbox serverhttps://app-sandbox.resolvepay.com/api/charges/{charge_id}/capture
- bearerAuth
- basicAuth
curl -i -X POST \
'https://docs.resolvepay.com/_mock/merchant-api/openapi/charges/{charge_id}/capture' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"amount": 1000,
"order_number": "5055",
"po_number": "PO-555"
}'An object representing a charge.
URL of the invoice document associated with this charge.
Example:"https://example.com/invoice.pdf"
Payment terms associated with the charge.
Enum:"due_upon_receipt""net7""net10""net10th""net15""net20""net30""net45""net60""net75"
Example:"net30"
Response
{ "id": "PMMlaE5wbg0", "amount": 1000, "customer_id": "X50sgfRd", "amount_refunded": 0, "canceled": false, "canceled_at": null, "captured": true, "captured_at": "2020-01-02T00:00:00.730Z", "created_at": "2020-01-01T00:00:00.730Z", "invoice_url": "https://example.com/invoice.pdf", "metadata": { "source": "checkout" }, "number": "ch_100001", "terms": "net30", "updated_at": "2020-01-02T00:00:00.730Z", "merchant_invoice_id": "INabc123", "order_number": "5055", "po_number": "PO-555", "fee": 25.5, "fee_refunded": 0 }