GET | /payments/order/{OrderId} | Braintree Payments by OrderId | Search for Braintree payments for a given OrderId |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
OrderId | path | string | Yes | Unique order Id for the payment transaction. |
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 |
---|---|---|---|---|
Amount | form | decimal? | No | |
ReferenceNumber | form | string | No | |
TransactionId | form | string | No | |
IsSuccess | form | bool? | No | |
TransactionStatus | form | TransactionStatus? | No | |
ProcessorResponseCode | form | string | No | |
ProcessorResponseText | form | string | No | |
GatewayRejectionReason | form | GatewayRejectionReason? | No | |
CreatedAt | form | DateTime | No | |
Disputes | form | List<Dispute> | No | |
CreditCard | form | CreditCard | No | |
PayPalDetails | form | PayPalDetails | No | |
GooglePay | form | GooglePayDetails | No | |
ApplePay | form | ApplePayDetails | No | |
SettlementBatchId | form | string | No | |
PaymentInstrumentType | form | PaymentInstrumentType | No | |
ResponseStatusType | form | ResponseStatusType | No | |
ProcessorDeclineType | form | ProcessorDeclineType? | No | |
VoidTransactionId | form | string | No | |
VoidProcessorResponseCode | form | string | No | |
ProcessedWithNetworkToken | form | bool? | No | |
AcquirerReferenceNumber | form | string | No | |
Retried | form | bool? | No | |
AchReturnCode | form | string | No | |
MerchantAccountId | form | string | No | |
Token | form | string | 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 |
application_incomplete |
avs |
avs_and_cvv |
cvv |
duplicate |
excessive_retry |
fraud |
risk_threshold |
three_d_secure |
token_issuance |
unrecognized |
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 |
---|---|---|---|---|
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 |
unknown |
paypal_account |
credit_card |
android_pay_card |
apple_pay_card |
Unknown |
Success |
Fail |
SoftFail |
Unknown |
Soft |
Hard |
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 .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /payments/order/{OrderId} HTTP/1.1 Host: azs-dev-payment-web.azurewebsites.net Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { offset: 0, total: 0, results: [ { amount: 0, referenceNumber: String, transactionId: String, isSuccess: False, transactionStatus: authorization_expired, processorResponseCode: String, processorResponseText: String, gatewayRejectionReason: application_incomplete, createdAt: 0001-01-01, disputes: [ { amount: 0, currencyIsoCode: String, dateOpened: 0001-01-01, dateWon: 0001-01-01, id: String, kind: chargeback, reason: cancelled_recurring_transaction, preDisputeProgram: none, receivedDate: 0001-01-01, replyByDate: 0001-01-01, status: open, caseNumber: String, payPalMessages: [ { message: String, sender: String, sentAt: 0001-01-01 } ], protectionLevel: effortless_cbp } ], 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 }, settlementBatchId: String, paymentInstrumentType: unknown, responseStatusType: Unknown, processorDeclineType: Unknown, voidTransactionId: String, voidProcessorResponseCode: String, processedWithNetworkToken: False, acquirerReferenceNumber: String, retried: False, achReturnCode: String, merchantAccountId: String, token: String } ], meta: { String: String }, responseStatus: { errorCode: String, message: String, stackTrace: String, errors: [ { errorCode: String, fieldName: String, message: String, meta: { String: String } } ], meta: { String: String } } }