Capture

Capturing a transaction means confirming that it's ready for financial settlement. This process transfers the authorized amount from the customer's account to the merchant.

Key Considerations

  • If a transaction is not captured within 7 days, the system (Inyo) will automatically cancel it.

  • Settlement time begins from the moment of capture, not authorization.

  • A transaction can be captured only once.

  • If the transaction was created with the flag "capture": true or has already been captured, an attempt to capture again will return an error.

  • It's possible to capture a smaller amount, as long as it is equal to or less than the authorized value.

  • If no amount is informed, the system will capture the original authorized amount.

Generate an Access Token

Use this endpoint to obtain a Bearer token for authorization.

curl -X POST https://sandbox-gw.simpleps.com/oauth/token \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
    "clientId": "2131-21312-3312",
    "secretID": "12312-1231-123-112"
  }'

Capture an Authorized Transaction

Captures a transaction that has already been authorized but not yet settled (in a pre-authorized state, where capture was request as false).

Sample Success Response

Last updated