Required role: | Admin |
OPTIONS, POST, GET | /R_RefundTransaction |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TransactionId | body | long | No | |
AmountToRefund | body | decimal | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Requester | form | string | No | Identity of the caller |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Transaction | form | R_Transaction | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SubscriptionId | form | long | No | |
GatewayTransactionId | form | string | No | |
TransactionTypeId | form | long | No | |
TransactionStatusId | form | long | No | |
Amount | form | decimal | No | |
Card | form | string | No | |
CurrencyId | form | long | No | |
CreateDate | form | DateTime | No | |
InvoiceId | form | long? | No | |
GatewayResponse | form | string | No | |
TransactionNotificationStatusId | form | long | No | |
SettlementDate | form | DateTime? | No | |
RelatedTransactionId | form | long? | No | |
RelatedGatewayTransactionId | form | string | No | |
Id | form | long | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/reply/R_RefundTransactionRequest HTTP/1.1
Host: regapi.pumpalarm.com
Content-Type: application/json
Content-Length: length
{"TransactionId":0,"AmountToRefund":0,"Requester":"String"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"Transaction":{"SubscriptionId":0,"GatewayTransactionId":"String","TransactionTypeId":0,"TransactionStatusId":0,"Amount":0,"Card":"String","CurrencyId":0,"CreateDate":"\/Date(-62135596800000-0000)\/","InvoiceId":0,"GatewayResponse":"String","TransactionNotificationStatusId":0,"SettlementDate":"\/Date(-62135596800000-0000)\/","RelatedTransactionId":0,"RelatedGatewayTransactionId":"String","Id":0}}