...
POST /client-id/{clientId}/authorization/{authorizationId}/release
Code | Error | Scenario |
400404 | not_found | Authorization ID not found |
409 | generic_error | A generic error covering backend process issues |
409 | authorization_ended | Credit authorization has “closed” status |
409 | auth_amount_exceeded | Release amount is greater than the remaining credit authorization amount. |
409 | not_permitted | The employee doesn’t have enough permissions to perform the release |
...
POST /client-id/{clientId}/authorization/{authorizationId}/capture
Code | Error | Scenario |
400404 | not_found | Authorization ID not found |
409 | generic_error | A generic error covering backend process issues |
409 | authorization_ended | Credit authorization has “closed” status |
409 | auth_amount_exceeded | Capture amount is greater than the remaining credit authorization amount. |
409 | not_permitted |
|
...
POST /client-id/{clientId}/authorization/{authorizationId}/capture/{captureId}/return
Code | Error | Scenario |
400404 | not_found | Authorization ID or Capture ID not found |
409 | generic_error | A generic error covering backend process issues |
409 | capture_amount_exceeded | Return amount is greater than the remaining captured amount. |
409 | return_date_exceeded | Capture creation date is more than 100 days old. |
409 | wrong_transaction_type | The capture is not related to a promotional purchase |
409 | not_permitted | The employee doesn’t have enough permissions to perform the return |
...