Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
StartDate | query | DateTime? | No | |
EndDate | query | DateTime | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Skip | form | int? | No | |
Take | form | int? | No | |
OrderBy | form | string | No | |
OrderByDesc | form | string | No | |
Include | form | string | No | |
Fields | form | string | No | |
Meta | form | Dictionary<string, string> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TransactionId | form | string | No | |
ReferenceNumber | form | string | No | |
RefundedTransactionId | form | string | No | |
RefundIds | form | List<string> | No | |
Type | form | string | No | |
Amount | form | decimal? | No | |
Status | form | string | No | |
TransactionStatus | form | TransactionStatus? | No | |
ProcessorResponseCode | form | string | No | |
ProcessorResponseText | form | string | No | |
PaymentInstrumentType | form | PaymentInstrumentType | No | |
CreditCard | form | CreditCard | No | |
PayPalDetails | form | PayPalDetails | No | |
GooglePay | form | GooglePayDetails | No | |
ApplePay | form | ApplePayDetails | No | |
IsSuccess | form | bool? | No | |
Disputes | form | Dispute[] | No | |
StatusHistory | form | StatusEvent[] | No | |
CreatedAt | form | DateTime? | No | |
UpdatedAt | form | DateTime? | No |
authorization_expired |
authorized |
authorizing |
failed |
gateway_rejected |
processor_declined |
settled |
settling |
submitted_for_settlement |
voided |
unrecognized |
settlement_confirmed |
settlement_declined |
settlement_pending |
failed_to_submit |
submitting_to_braintree |
timeout |
unknown |
paypal_account |
credit_card |
android_pay_card |
apple_pay_card |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CardType | form | string | No | The type of the credit card. Possible values: American Express, Carte Blanche, China UnionPay, Diners Club Discover, JCB, Laser, Maestro, MasterCard, Solo, Switch, Visa, Unknown |
ExpirationMonth | form | string | No | |
ExpirationYear | form | string | No | |
Bin | form | string | No | The first 6 digits of the credit card, known as the Bank Identification Number. |
LastFour | form | string | No | The last 4 digits of the credit card number |
UniqueNumberIdentifier | form | string | No | |
CardholderName | form | string | No | |
Token | form | string | No | The payment method token |
IsNetworkTokenized | form | bool? | No | |
Debit | form | CreditCardDebit | No |
yes |
no |
unknown |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RefundId | form | string | No | |
CaptureId | form | string | No | |
SellerProtectionStatus | form | string | No | |
PayerStatus | form | string | No | |
PayerLastName | form | string | No | |
PayerFirstName | form | string | No | |
PayerId | form | string | No | |
PayeeEmail | form | string | No | |
PayeeId | form | string | No | |
Token | form | string | No | |
AuthorizationId | form | string | No | |
PaymentId | form | string | No | |
PayerEmail | form | string | No | |
TransactionFeeAmount | form | decimal | No | |
TransactionFeeCurrencyIsoCode | form | string | No | |
Description | form | string | No | |
BillingAgreementId | form | string | No | |
TaxId | form | string | No | |
TaxIdType | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SourceCardType | form | string | No | |
CustomerId | form | string | No | |
ExpirationMonth | form | string | No | |
ExpirationYear | form | string | No | |
Bin | form | string | No | The first 6 digits of the credit card, known as the Bank Identification Number. |
GoogleTransactionId | form | string | No | |
SourceCardLast4 | form | string | No | The last 4 digits of the credit card number |
CardholderName | form | string | No | |
Token | form | string | No | The payment method token |
IsNetworkTokenized | form | bool? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CardType | form | string | No | |
CustomerId | form | string | No | |
ExpirationMonth | form | string | No | |
ExpirationYear | form | string | No | |
Bin | form | string | No | The first 6 digits of the credit card, known as the Bank Identification Number. |
LastFour | form | string | No | The last 4 digits of the credit card number |
CardholderName | form | string | No | |
Token | form | string | No | The payment method token |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Amount | form | decimal? | No | |
CurrencyIsoCode | form | string | No | |
DateOpened | form | DateTime? | No | |
DateWon | form | DateTime? | No | |
Id | form | string | No | |
Kind | form | DisputeKind | No | |
Reason | form | DisputeReason | No | |
PreDisputeProgram | form | PreDisputeProgram | No | |
ReceivedDate | form | DateTime? | No | |
ReplyByDate | form | DateTime? | No | |
Status | form | DisputeStatus | No | |
CaseNumber | form | string | No | |
PayPalMessages | form | List<DisputePayPalMessage> | No | |
ProtectionLevel | form | DisputeProtectionLevel | No |
chargeback |
pre_arbitration |
retrieval |
unrecognized |
cancelled_recurring_transaction |
credit_not_processed |
duplicate |
fraud |
general |
invalid_account |
not_recognized |
product_not_received |
product_unsatisfactory |
transaction_amount_differs |
retrieval |
none |
unrecognized |
visa_rdr |
open |
lost |
won |
unrecognized |
accepted |
auto_accepted |
disputed |
expired |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Message | form | string | No | |
Sender | form | string | No | |
SentAt | form | DateTime? | No |
effortless_cbp |
standard_cbp |
no_protection |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Amount | form | decimal? | No | |
Status | form | string | No | |
Timestamp | form | DateTime? | No | |
Source | form | string | No | |
User | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Offset | form | int | No | |
Total | form | int | No | |
Results | form | List<T> | No | |
Meta | form | Dictionary<string, string> | No | |
ResponseStatus | form | ResponseStatus | 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/QueryTransaction HTTP/1.1
Host: azs-dev-payment-web.azurewebsites.net
Accept: application/json
Content-Type: application/json
Content-Length: length
{"startDate":"0001-01-01T00:00:00.0000000","endDate":"0001-01-01T00:00:00.0000000","skip":0,"take":0,"orderBy":"String","orderByDesc":"String","include":"String","fields":"String","meta":{"String":"String"}}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"offset":0,"total":0,"results":[{"transactionId":"String","referenceNumber":"String","refundedTransactionId":"String","refundIds":["String"],"type":"String","amount":0,"status":"String","transactionStatus":"authorization_expired","processorResponseCode":"String","processorResponseText":"String","paymentInstrumentType":"unknown","creditCard":{"cardType":"String","expirationMonth":"String","expirationYear":"String","bin":"String","lastFour":"String","uniqueNumberIdentifier":"String","cardholderName":"String","token":"String","isNetworkTokenized":false,"debit":"yes"},"payPalDetails":{"refundId":"String","captureId":"String","sellerProtectionStatus":"String","payerStatus":"String","payerLastName":"String","payerFirstName":"String","payerId":"String","payeeEmail":"String","payeeId":"String","token":"String","authorizationId":"String","paymentId":"String","payerEmail":"String","transactionFeeAmount":0,"transactionFeeCurrencyIsoCode":"String","description":"String","billingAgreementId":"String","taxId":"String","taxIdType":"String"},"googlePay":{"sourceCardType":"String","customerId":"String","expirationMonth":"String","expirationYear":"String","bin":"String","googleTransactionId":"String","sourceCardLast4":"String","cardholderName":"String","token":"String","isNetworkTokenized":false},"applePay":{"cardType":"String","customerId":"String","expirationMonth":"String","expirationYear":"String","bin":"String","lastFour":"String","cardholderName":"String","token":"String"},"isSuccess":false,"disputes":[{"amount":0,"currencyIsoCode":"String","dateOpened":"0001-01-01T00:00:00.0000000","dateWon":"0001-01-01T00:00:00.0000000","id":"String","kind":"chargeback","reason":"cancelled_recurring_transaction","preDisputeProgram":"none","receivedDate":"0001-01-01T00:00:00.0000000","replyByDate":"0001-01-01T00:00:00.0000000","status":"open","caseNumber":"String","payPalMessages":[{"message":"String","sender":"String","sentAt":"0001-01-01T00:00:00.0000000"}],"protectionLevel":"effortless_cbp"}],"statusHistory":[{"amount":0,"status":"String","timestamp":"0001-01-01T00:00:00.0000000","source":"String","user":"String"}],"createdAt":"0001-01-01T00:00:00.0000000","updatedAt":"0001-01-01T00:00:00.0000000"}],"meta":{"String":"String"},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}