Registrar Web Services

<back to all web services

R_Transaction

Requires Authentication
Required role:Admin
The following routes are available for this service:
POST,OPTIONS/R_Transactions
PUT,OPTIONS/R_Transactions/{Id}
DELETE,OPTIONS/R_Transactions/{Id}
R_Transaction Parameters:
NameParameterData TypeRequiredDescription
SubscriptionIdbodylongNo
GatewayTransactionIdbodystringNo
TransactionTypeIdbodylongNo
TransactionStatusIdbodylongNo
AmountbodydecimalNo
CardbodystringNo
CurrencyIdbodylongNo
CreateDatebodyDateTimeNo
InvoiceIdbodylong?No
GatewayResponsebodystringNo
TransactionNotificationStatusIdbodylongNo
SettlementDatebodyDateTime?No
RelatedTransactionIdbodylong?No
RelatedGatewayTransactionIdbodystringNo
IdpathlongNo
R_Transaction Parameters:
NameParameterData TypeRequiredDescription
SubscriptionIdbodylongNo
GatewayTransactionIdbodystringNo
TransactionTypeIdbodylongNo
TransactionStatusIdbodylongNo
AmountbodydecimalNo
CardbodystringNo
CurrencyIdbodylongNo
CreateDatebodyDateTimeNo
InvoiceIdbodylong?No
GatewayResponsebodystringNo
TransactionNotificationStatusIdbodylongNo
SettlementDatebodyDateTime?No
RelatedTransactionIdbodylong?No
RelatedGatewayTransactionIdbodystringNo
IdpathlongNo

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_Transaction HTTP/1.1 
Host: regapi.pumpalarm.com 
Content-Type: text/jsv
Content-Length: length

{
	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
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	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
}