Skip to content

feat(api)!: move to generic refund status API #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 19, 2022

Conversation

ghostwriternr
Copy link
Contributor

@ghostwriternr ghostwriternr commented Jul 10, 2022

The refund batch status API is at path GET /refund/batch/{batchID},
which while continuing to work, will no longer return batchID as
part of the response. This allows the internal API to be more generic,
supporting fetching the refund status by more identifiers.

The path for the internal API has now changed to:
GET /refund/{identifierType}/{identifierValue}

The allowed values for identifierType at this point are:

  • batch
  • bill

If you were not using the batchID in the response in your code,
then your integration will continue to work. In either case, the
getRefundBatchStatus is deprecated and it is recommended to use
the new getRefundStatusByIdentifier method instead.

The refund batch status API is at path `GET /refund/batch/{batchID}`,
which while continuing to work, will no longer return `batchID` as
part of the response. This allows the internal API to be more generic,
supporting fetching the refund status by more identifiers.

The path for the internal API has now changed to:
`GET /refund/{identifierType}/{identifierValue}`

The allowed values for `identifierType` at this point are:
- batch
- bill

If you were not using the `batchID` in the response in your code,
then your integration will continue to work. In either case, the
`getRefundBatchStatus` is deprecated and it is recommended to use
the new `getRefundStatusByIdentifier` method instead.
@ghostwriternr ghostwriternr self-assigned this Jul 10, 2022
@ghostwriternr ghostwriternr merged commit 161a7a6 into master Jul 19, 2022
@ghostwriternr ghostwriternr deleted the move-to-generic-refund-status-api branch July 19, 2022 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant