Token
AML
Country Data
Customer
- Access Control
- Active Session
- Credentials
- Customer
- Organization
Merchant API
Finsupport
- PUTTicket By Id
- PUTUpdate Ticket
- PUTEscalate
- PUTCustomer Close Ticket
- PUTAssignee Update Ticket Status
- PUTAdmin Update Ticket Status
- PUTAdmin Close Ticket
- PUTAdd Start Date
- PUTAdmin Complete Ticket For Assignee
- POSTSingle Upload
- POSTMultiple Upload
- POSTCustomer Reply On Ticket
- POSTCreate Ticket
- POSTCreate New Ticket
- POSTAssignee Reply On Ticket
- POSTAssignee Add Note
- POSTAdmin Reply On Ticket
- POSTAdmin Add Note
- POSTAdmin Add Assignee To The Ticket
- POSTAdd Follower To The Ticket
- GETTicket Status Enums
- GETTicket Report
- POSTTicket Report
- GETTicket Report Sort Order
- GETTicket Report Sort Fields
- GETRole Enums
- GETPriority Enums
- GETMy files
- GETTickets
- GETTickets by customer id
- GETList Of Tickets By Follower Id
- GETList Of Tickets By Assignee
- GETList Of Replies By Ticket Id
- GETList Of Notes By Ticket Id
- GETReply By Reply Id
- GETNote By Note Id
- GETList Of Follower By Ticket Id
- GETAssignee By Ticket Id
- GETCategory Enums
- GETSingle By Id
- GETAggregate
- GETAll By Note Id
- GETAll By Reply Id
- GETAll By Ticket Id
- GETAll file
- PUTReply Title Status
- GETReply Messages
- PUTReplay Messages
- POSTReplay Messages
- GETReplay Title
- POSTReplay Title
- GETReply Title By Id
- GETReply Messages by id
Create Refund
POST
/
payment
/
payments
/
{paymentId}
/
refund
curl --request POST \
--url https://gateway.finhub.cloud/ipg/1.0.0/payment/payments/{paymentId}/refund \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"organizationId": "<string>",
"amount": 123
}'
{
"data": {
"result": {
"code": 123,
"description": "<string>"
},
"paymentId": "<string>",
"timestamp": "<string>",
"paymentBrand": "<string>",
"paymentMode": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"amount": 123,
"descriptor": "<string>",
"currency": "<string>",
"card": {
"bin": "<string>",
"last4Digits": "<string>",
"holder": "<string>",
"expiryMonth": "<string>",
"expiryYear": "<string>"
},
"transactionStatus": "<string>",
"merchantTransactionId": "<string>",
"remark": "<string>",
"status": {
"detail": "<string>"
}
}
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Body
Response
200
text/plain
Success
The response is of type object
.
curl --request POST \
--url https://gateway.finhub.cloud/ipg/1.0.0/payment/payments/{paymentId}/refund \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"organizationId": "<string>",
"amount": 123
}'
{
"data": {
"result": {
"code": 123,
"description": "<string>"
},
"paymentId": "<string>",
"timestamp": "<string>",
"paymentBrand": "<string>",
"paymentMode": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"amount": 123,
"descriptor": "<string>",
"currency": "<string>",
"card": {
"bin": "<string>",
"last4Digits": "<string>",
"holder": "<string>",
"expiryMonth": "<string>",
"expiryYear": "<string>"
},
"transactionStatus": "<string>",
"merchantTransactionId": "<string>",
"remark": "<string>",
"status": {
"detail": "<string>"
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.