Partner Cases
Partner Cases are part of the Partner Support API, allowing partners to open, retrieve and respond to support and operations queries.
The endpoints described here allow partners to directly integrate their back end tooling with Wise's, allowing faster responses, better structure to data, and operational efficiencies.
Partner Case ID. Generated by Wise
Status of the case. Can include CREATING
, OPEN
, PENDING
, SOLVED
and CLOSED
.
Type of the partner case. Value must be GENERAL_ENQUIRY
. More case types will be added in the future.
An ID provided by the external partner for partner internal tracking.
When the partner case was originally created.
When the partner case was last updated.
Case Statuses
Partner cases can move through different statuses.
Cases in the creating status are those that are being created by Wise from a Partner call. Once created, cases move into the open status.
Cases in the open status are those that are being actioned by Wise. Partners do not need to action these cases. Note that we may update a case in this status and not change it.
Cases in the pending status are those that require additional information from the partner. You should action these cases by reviewing the newest comment and updating the case.
Cases in the solved status are those that have been solved and scheduled for closure. These can be re-opened by the partner or Wise if needed before closing.
Cases in the closed status are those that have been solved and closed. Once closed, they cannot be reopened and a new case should be created if needed.
{"id": 123456789,"status": "PENDING","type": "GENERAL_ENQUIRY","externalId": "partner_12344567","createdAt": "2023-06-28T15:21:24.901","updatedAt": "2023-06-28T15:21:24.901"}
Case Status Flow
POST /v1/cases
Cases are used to collect or transmit additional information between Partners and Wise. Use this endpoint to create a new case.
Type of the partner case. Value must be GENERAL_ENQUIRY
. More case types will be added in the future.
The subject of the case. Do not include PII in the subject of cases.
ID of the transfer the case relates to. Can also be null
.
ID of the profile the case relates to. Can also be null
.
ID of the user the case relates to. Can not be null
.
An ID provided by the external partner for partner internal tracking.
The description of the request. The maximum size of the description is 65,535 character. If additional characters are sent, the field will be truncated.
Response
Returns a partner case object.
curl -X POST https://api.sandbox.transferwise.tech/v1/cases \-H 'Authorization: Bearer <your api token>' \-H 'Content-Type: application/json' \-d '{"type": "GENERAL_ENQUIRY","subject": "Inquiry about Transfer 12345","details": {"transferId": 58114690,"profileId": 14556049,"userId": 1234},"externalId": "partner_external_id_12345","description": "Initial summary of the issue"}'
GET /v1/cases/{{case-id}}
This endpoint returns a partner case based on the specified case ID.
Response
Returns a partner case object.
curl -X GET https://api.sandbox.transferwise.tech/v1/cases/{{case-id}} \-H 'Authorization: Bearer <your api token>'
GET /v1/cases/{{case-id}}/comments
This endpoint returns a commentList
object, which is an array of comments that have been associated with the case.
ID of the comment
The plain body of the comment. This can include simple markdown.
The author of the comment. Can be either PARTNER
or WISE_AGENT
When the comment was created. Note that comments cannot be updated.
Response
Returns a commentList
object. Comments are ordered newest to oldest and are not paginated (all comments returned at once)
curl -X GET https://api.sandbox.transferwise.tech/v1/cases/{{case-id}}/comments \-H 'Authorization: Bearer <your api token>'
{"commentList": [{"id": 16554865464081,"plainBody": "We have resolved the issue with this transfer.\n\nThank you!","author": "WISE_AGENT","createdAt": "2023-06-28T15:22:29.901"},{"id": 16554816313745,"plainBody": "Please help with this transfer.\n\nTransfer details....","author": "PARTNER","createdAt": "2023-06-28T15:21:26.901"}]}
PUT /v1/cases/{{case-id}}/comments
This endpoint allows for updates to be included with a partner case. Currently, this only allows for a comment to be placed on the case.
The comment that you want to add to the case. This can include markdown. The maximum size of the comment is 65,535 character. If additional characters are sent, the field will be truncated.
Response
A 200 response is returned with no body.
curl -X GET https://api.sandbox.transferwise.tech/v1/cases/{{case-id}}/comments \-H 'Authorization: Bearer <your api token>' \-d '{"comment": "Please see the attached information as requested.\n\nTransfer Details...."}