Skip to content

Commit 6b604a4

Browse files
authored
Braintree - New v2 (#1180)
1 parent 3b4aaed commit 6b604a4

5 files changed

Lines changed: 382 additions & 3 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
tap: braintree
2+
version: '2'
3+
tables:
4+
- name: transactions
5+
description: 'The `transactions` table contains info about the transactions in your
6+
Braintree account, including the transaction''s status.
7+
8+
9+
**Note**: Our Braintree integration will only replicate transactions for the **default
10+
merchant account** in your Braintree instance. You can verify the merchant account
11+
set as the default by going to **Settings > Processing > Merchant Accounts** when
12+
signed into Braintree.
13+
14+
'
15+
links:
16+
doc-link: https://developers.braintreepayments.com/reference/request/transaction/search/java
17+
singer-schema: https://github.com/singer-io/tap-braintree/blob/master/tap_braintree/schemas/transactions.json
18+
table-details:
19+
replication-method: Key-based Incremental
20+
primary-key: id
21+
replication-key: created_at
22+
tap-repo-schemas: true
Lines changed: 205 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,205 @@
1+
{
2+
"type": "object",
3+
"properties": {
4+
"id": {
5+
"type": "string"
6+
},
7+
"created_at": {
8+
"type": "string",
9+
"format": "date-time"
10+
},
11+
"updated_at": {
12+
"type": "string",
13+
"format": "date-time"
14+
},
15+
"settlement_batch_id": {
16+
"type": ["null", "string"]
17+
},
18+
"status": {
19+
"type": ["null", "string"]
20+
},
21+
"type": {
22+
"type": ["null", "string"]
23+
},
24+
"amount": {
25+
"type": ["null", "number"]
26+
},
27+
"payment_instrument_type": {
28+
"type": ["null", "string"]
29+
},
30+
"service_fee_amount": {
31+
"type": ["null", "number"]
32+
},
33+
"order_id": {
34+
"type": ["null", "string"]
35+
},
36+
"plan_id": {
37+
"type": ["null", "string"]
38+
},
39+
"gateway_rejection_reason": {
40+
"type": ["null", "string"]
41+
},
42+
"processor_authorization_code": {
43+
"type": ["null", "string"]
44+
},
45+
"processor_response_code": {
46+
"type": ["null", "string"]
47+
},
48+
"processor_response_text": {
49+
"type": ["null", "string"]
50+
},
51+
"recurring": {
52+
"type": ["null", "boolean"]
53+
},
54+
"refunded_transaction_id": {
55+
"type": ["null", "string"]
56+
},
57+
"currency_iso_code": {
58+
"type": ["null", "string"]
59+
},
60+
"merchant_account_id": {
61+
"type": ["null", "string"]
62+
},
63+
"subscription_id": {
64+
"type": ["null", "string"]
65+
},
66+
"customer_details": {
67+
"type": "object",
68+
"properties": {
69+
"id": {
70+
"type": ["null", "string"]
71+
},
72+
"email": {
73+
"type": ["null", "string"]
74+
},
75+
"first_name": {
76+
"type": ["null", "string"]
77+
},
78+
"last_name": {
79+
"type": ["null", "string"]
80+
},
81+
"company": {
82+
"type": ["null", "string"]
83+
},
84+
"phone": {
85+
"type": ["null", "string"]
86+
},
87+
"website": {
88+
"type": ["null", "string"]
89+
}
90+
}
91+
},
92+
"credit_card_details": {
93+
"type": "object",
94+
"properties": {
95+
"customer_location": {
96+
"type": ["null", "string"]
97+
},
98+
"card_type": {
99+
"type": ["null", "string"]
100+
}
101+
}
102+
},
103+
"subscription_details":{
104+
"type": "object",
105+
"properties": {
106+
"billing_period_start_date": {
107+
"anyOf": [
108+
{
109+
"type": "string",
110+
"format": "date-time"
111+
},
112+
{
113+
"type": "null"
114+
}
115+
]
116+
},
117+
"billing_period_end_date": {
118+
"anyOf": [
119+
{
120+
"type": "string",
121+
"format": "date-time"
122+
},
123+
{
124+
"type": "null"
125+
}
126+
]
127+
}
128+
}
129+
},
130+
"disbursement_details": {
131+
"anyOf": [
132+
{
133+
"type": "object",
134+
"properties": {
135+
"disbursement_date": {
136+
"anyOf": [
137+
{
138+
"type": "string",
139+
"format": "date-time"
140+
},
141+
{
142+
"type": "null"
143+
}
144+
]
145+
},
146+
"success": {
147+
"type": ["null", "boolean"]
148+
}
149+
}
150+
},
151+
{
152+
"type": "null"
153+
}
154+
]
155+
},
156+
"paypal_details": {
157+
"anyOf": [
158+
{
159+
"type": "object",
160+
"properties": {
161+
"authorization_id" : {
162+
"type": ["null", "string"]
163+
},
164+
"capture_id": {
165+
"type": ["null", "string"]
166+
},
167+
"payer_email": {
168+
"type": ["null", "string"]
169+
},
170+
"payer_id": {
171+
"type": ["null", "string"]
172+
},
173+
"payer_status": {
174+
"type": ["null", "string"]
175+
},
176+
"payment_id": {
177+
"type": ["null", "string"]
178+
},
179+
"refund_id": {
180+
"type": ["null", "string"]
181+
},
182+
"seller_protection_status": {
183+
"type": ["null", "string"]
184+
},
185+
"tax_id": {
186+
"type": ["null", "string"]
187+
},
188+
"tax_id_type": {
189+
"type": ["null", "string"]
190+
},
191+
"transaction_fee_amount": {
192+
"type": ["null", "string"]
193+
},
194+
"transaction_fee_currency_iso_code": {
195+
"type": ["null", "string"]
196+
}
197+
}
198+
},
199+
{
200+
"type": "null"
201+
}
202+
]
203+
}
204+
}
205+
}

_data/taps/versions/braintree.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
# BRAINTREE VERSIONS #
33
# -------------------------- #
44

5-
latest-version: "1"
5+
latest-version: "2"
66

77
released-versions:
8+
- number: "2"
9+
date-released: "February 11, 2026"
810
- number: "1"
911
date-released: "March 1, 2017"
10-
# date-last-connection:
12+
date-deprecated: "February 11, 2026"

_saas-integrations/braintree/braintree-latest.md renamed to _saas-integrations/braintree/v1/braintree-v1.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
title: Braintree (v1)
3-
permalink: /integrations/saas/braintree
3+
permalink: /integrations/saas/braintree/v1
44
keywords: braintree, integration, schema, etl braintree, braintree etl, braintree schema
55
summary: "Connection instructions, replication info, and schema details for Stitch's Braintree integration."
66
layout: singer
7+
input: false
78

89
key: "braintree-setup"
910

0 commit comments

Comments
 (0)