Registrar Web Services

<back to all web services

R_RefundTransactionRequest

Requires Authentication
Required role:Admin
The following routes are available for this service:
OPTIONS, POST, GET/R_RefundTransaction
R_RefundTransactionRequest Parameters:
NameParameterData TypeRequiredDescription
TransactionIdbodylongNo
AmountToRefundbodydecimalNo
BaseAdminRequest Parameters:
NameParameterData TypeRequiredDescription
RequesterformstringNoIdentity of the caller
R_RefundTransactionResponse Parameters:
NameParameterData TypeRequiredDescription
TransactionformR_TransactionNo
R_Transaction Parameters:
NameParameterData TypeRequiredDescription
SubscriptionIdformlongNo
GatewayTransactionIdformstringNo
TransactionTypeIdformlongNo
TransactionStatusIdformlongNo
AmountformdecimalNo
CardformstringNo
CurrencyIdformlongNo
CreateDateformDateTimeNo
InvoiceIdformlong?No
GatewayResponseformstringNo
TransactionNotificationStatusIdformlongNo
SettlementDateformDateTime?No
RelatedTransactionIdformlong?No
RelatedGatewayTransactionIdformstringNo
IdformlongNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/reply/R_RefundTransactionRequest HTTP/1.1 
Host: regapi.pumpalarm.com 
Content-Type: text/jsv
Content-Length: length

{
	TransactionId: 0,
	AmountToRefund: 0,
	Requester: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Transaction: 
	{
		SubscriptionId: 0,
		GatewayTransactionId: String,
		TransactionTypeId: 0,
		TransactionStatusId: 0,
		Amount: 0,
		Card: String,
		CurrencyId: 0,
		CreateDate: 0001-01-01,
		InvoiceId: 0,
		GatewayResponse: String,
		TransactionNotificationStatusId: 0,
		SettlementDate: 0001-01-01,
		RelatedTransactionId: 0,
		RelatedGatewayTransactionId: String,
		Id: 0
	}
}