API REFERENCE
CHARGES

Auth and capture together

2min

Note: Recommended approach is to separate authorization and capture as detailed here: separate-auth-and-capture. Don't be lazy! follow the recommended approach of separate auth and capture.

However, just-in-case, some scenarios might require to place a hold on card (authorise) and capture funds at the same time. you can do so in the /charge/create api by passing is_capture="true"

JS
ο»Ώ

ο»Ώ

2. Capture the funds

Calling /charge/capture api is no longer required as the funds are already captured during charge creation.

ο»Ώ

Recommended approach

Use separate auth and capture as cancellation of charge if your customer cancels your order does not levy you any fee!

See: Separate Auth And Capture: separate-auth-and-captureο»Ώ

ο»Ώ

ο»Ώ

ο»Ώ