Required role: | Admin |
POST,OPTIONS | /R_Transactions | ||
---|---|---|---|
PUT,OPTIONS | /R_Transactions/{Id} | ||
DELETE,OPTIONS | /R_Transactions/{Id} |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SubscriptionId | body | long | No | |
GatewayTransactionId | body | string | No | |
TransactionTypeId | body | long | No | |
TransactionStatusId | body | long | No | |
Amount | body | decimal | No | |
Card | body | string | No | |
CurrencyId | body | long | No | |
CreateDate | body | DateTime | No | |
InvoiceId | body | long? | No | |
GatewayResponse | body | string | No | |
TransactionNotificationStatusId | body | long | No | |
SettlementDate | body | DateTime? | No | |
RelatedTransactionId | body | long? | No | |
RelatedGatewayTransactionId | body | string | No | |
Id | path | long | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SubscriptionId | body | long | No | |
GatewayTransactionId | body | string | No | |
TransactionTypeId | body | long | No | |
TransactionStatusId | body | long | No | |
Amount | body | decimal | No | |
Card | body | string | No | |
CurrencyId | body | long | No | |
CreateDate | body | DateTime | No | |
InvoiceId | body | long? | No | |
GatewayResponse | body | string | No | |
TransactionNotificationStatusId | body | long | No | |
SettlementDate | body | DateTime? | No | |
RelatedTransactionId | body | long? | No | |
RelatedGatewayTransactionId | body | string | No | |
Id | path | long | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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 }