Support Ticket
The Support Ticket APIs provide functionalities for managing customer support interactions within the application. These APIs allow users to create, retrieve, and update support tickets for addressing various issues or inquiries.
These APIs facilitate effective communication and resolution of customer inquiries, enhancing overall user experience and satisfaction.
Base URL
https://api.globalbanking.fintractglobal.com/
1. Get support tickets
This API endpoint takes authenticated user and returns support tickets created by authenticated user. This requires authentication using a bank-admin's or customer's access token.
Refer to the Authentication Guide for details on obtaining and using API keys. You need to specifically login as BANK_ADMIN or CUSTOMER to access this API. When you make calls to the tokenization API, include the API key as bearer access token in the authorization header.
Endpoint
/support/ticket
Request
Header Parameters
Authorization*:
string
Bearer access token for authorization.
Response
200
Response body schema
application/json
[]:
array
Array containing details of support tickets
ticket_id:
string
subject:
string
description:
string
status:
string
transaction_id:
string
bank:
string
Sample Request
Payload
No payload
Sample Response
200
application/json
[ { "ticket_id": "0091271ba8cd431381a900a49f2200c3", "subject": "Transaction Dispute", "description": "I did not receive the funds for transaction ID b8c91796c3154a0b123455e00ee6ac.", "status": "UNDER REVIEW", "transaction_id": "b8c91796c3154a0b123455e00ee6ac", "bank": "HSBC" } ]
To test the API,click here to access our testing interface.
2. Create support ticket
This endpoit creates a new support ticket with the provided data. This requires authentication using a customer's access token.
Refer to the Authentication Guide for details on obtaining and using API keys. You need to specifically login as CUSTOMER to access this API. When you make calls to the tokenization API, include the API key as bearer access token in the authorization header.
Endpoint
/support/ticket
Request
Header Parameters
Authorization*:
string
Bearer access token for authorization.
Request body schema
application/json
subject:
string
Subject of the support ticket
description:
string
Description of the issue
transaction_id:
string
ID of the transaction associated with the issue
bank:
string
Name of the bank
Response
201
Response body schema
application/json
msg:
string
Ticket added successfully
Sample Request
Payload
application/json
{ "subject": "Transaction Dispute", "description": "I did not receive the funds for transaction ID b8c91796c3154a0b123455e00ee6ac.", "transaction_id": "b8c91796c3154a0b123455e00ee6ac", "bank": "HSBC" }
Sample Response
201
application/json
{ "msg": "Ticket added successfully" }
To test the API,click here to access our testing interface.
3. Update support ticket
This endpoit takes support ticket id and updates it's status. This requires authentication using a bank-admin's access token.
Refer to the Authentication Guide for details on obtaining and using API keys. You need to specifically login as BANK_ADMIN to access this API. When you make calls to the tokenization API, include the API key as bearer access token in the authorization header.
Endpoint
/support/ticket
Request
Header Parameters
Authorization*:
string
Bearer access token for authorization.
Request body schema
application/json
ticketId:
string
ID of suppotr ticket
status:
string Enum: [APPROVED,PENDING APPROVAL, UNDER INVESTIGATION, UNDER REVEIW, CLOSED, REOPEN]
Status of support ticket
Response
200
Response body schema
application/json
msg:
string
Ticket added successfully
Sample Request
Payload
application/json
{ "ticketId": "e264010f249mbmfdbvd8fb9b871d1adf", "status": "APPROVED" }
Sample Response
200
application/json
{ "msg": "Ticket Updated" }
To test the API,click here to access our testing interface.