Required role: | Admin |
OPTIONS, POST, GET | /R_HandleDisputedTransaction |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TransactionId | body | long | Yes | Id of the transaction incorrectly disputed transaction |
InvoiceDescription | body | string | No | Optionally specify a description for the customers invoice |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Requester | form | string | No | Identity of the caller |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DisputedTransaction | form | R_Transaction | No | |
NewTransaction | 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 .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_HandleDisputedTransactionRequest HTTP/1.1
Host: regapi.pumpalarm.com
Content-Type: text/jsv
Content-Length: length
{
TransactionId: 0,
InvoiceDescription: String,
Requester: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { DisputedTransaction: { 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 }, NewTransaction: { 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 } }