Capture a charge

Once a Charge has been Authorised it must then be Captured for disbursment to the merchant. This is done by simply referring to the Authorised "charge_id" in the endpoint url and passing the amount to be captured.

Useful notes

  • You can also capture less than the authorised amount. I.e Lets assume authorised amount is $100, you do a partial capture of $10 and then a final capture of $70 specifying is_partial_capture=false then the remaining $20 will be released to the customer account.
  • You cannot capture an amount beyond what was authorised.
  • The "charge_id" must be in an "Authorised" state to be captured.
  • Ensure the idempotency-key header parameter is present in capture API requests.
  • Path Params
    string
    required

    The unique charge ID returned in the /charges call

    Body Params
    double
    required

    Order shipping address object.

    string
    required

    Unique transaction reference.

    boolean
    Defaults to false

    Specifies whether the capture request is partial or not. If true and the capture amount is less than the authorized amount then the outstanding balance will remain authorised for capture at a later stage. If false and the capture amount is less than the authorized amount then the outstanding balance will be released back to the customer and the charges will be finalised, future captures will not be allowed. Default value is false if attribute is not specified in the request

    Responses

    Language
    Credentials
    Header
    LoadingLoading…
    Response
    Click Try It! to start a request and see the response here! Or choose an example:
    application/json