Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task/apm 7372 tamara api reference #1

Open
wants to merge 1,771 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1771 commits
Select commit Hold shift + click to select a range
81fdbf6
chore(px-102): cleaned up the changelog and change the defaulut value…
cko-siavash-delkhosh Feb 17, 2023
fc51d21
chore(px-102): resolved conflics
cko-siavash-delkhosh Feb 17, 2023
7b0c34b
Updated codeowners (#859)
adam-young-cko Feb 17, 2023
7365734
Merge pull request #814 from checkout/task/NTS-1216-public-api-docs-f…
dev-foister-cko Feb 21, 2023
59d0f28
Remove character from shipping_address_age enum
eoin-shaughnessy-cko Feb 21, 2023
1f89855
chore(px-102): updated the conflics and dates
cko-siavash-delkhosh Feb 22, 2023
1af1490
chore(px-102): resolving comments
cko-siavash-delkhosh Feb 22, 2023
1b34bc7
Merge pull request #860 from checkout/task/WRITING-1353
eoin-shaughnessy-cko Feb 23, 2023
d18e7e4
WRITING-1362 - Removing From and To from Events Notifications, removi…
gareth-forshaw-cko Feb 23, 2023
7b46d5f
Merge pull request #857 from checkout/PX-102-update-api-reference-wit…
cko-siavash-delkhosh Feb 23, 2023
14b6665
Merge branch 'master' into revert-704-remove-unschedule-from-api-refe…
harish-venkataramanan-cko Feb 23, 2023
dbf2bd6
Update nas_spec/changelog.md
harish-venkataramanan-cko Feb 23, 2023
806474f
Update changelog.md
harish-venkataramanan-cko Feb 23, 2023
55a7925
Update nas_spec/changelog.md
harish-venkataramanan-cko Feb 23, 2023
413678b
Merge pull request #828 from checkout/revert-704-remove-unschedule-fr…
harish-venkataramanan-cko Feb 23, 2023
2adb7dd
Merge branch 'master' into task/WRITING-1362
gareth-forshaw-cko Feb 24, 2023
7194d8e
Merge pull request #861 from checkout/task/WRITING-1362
gareth-forshaw-cko Feb 28, 2023
b3c3ed5
Added product type options for tamara
irena-saraci-cko Mar 2, 2023
15ebc27
formatting
irena-saraci-cko Mar 2, 2023
3c1ce0e
attempt to fix formatting
irena-saraci-cko Mar 2, 2023
25d94b6
attempt to fix formatting
irena-saraci-cko Mar 2, 2023
645f1ef
formatting attempts
irena-saraci-cko Mar 2, 2023
5054358
improve formatting
irena-saraci-cko Mar 2, 2023
012d22e
Add operation Ids (#866)
kunal-patel-cko Mar 2, 2023
7b62fe5
Adjusted NAS banner link to be relative (#872)
adam-young-cko Mar 8, 2023
12db395
Renamed Sessions to Standalone
marcos-amoros-cko Mar 8, 2023
f22bb01
Added `javascript_enabled` to `standalone` requests
marcos-amoros-cko Mar 8, 2023
c260868
WE-2034 | Add action to copy changelog files to another repo (#873)
weronika-castiglione-cko Mar 8, 2023
7cf4038
Added `customer_ip` to `Standalone` response
marcos-amoros-cko Mar 8, 2023
f7155cd
Bump json-schema and jsprim (#727)
dependabot[bot] Mar 8, 2023
dd5d55c
Bump decode-uri-component from 0.2.0 to 0.2.2 (#781)
dependabot[bot] Mar 8, 2023
b448a4e
Adds Go code samples
martinseco Feb 23, 2023
afad8d7
Bump minimatch from 3.0.4 to 3.1.2 (#769)
dependabot[bot] Mar 8, 2023
ba7ff06
Merge branch 'master' into feature/add-go-samples
martinseco Mar 8, 2023
96a45ed
Update nas_spec/code_samples/Node/standalone/post.js
marcos-amoros-cko Mar 8, 2023
c7d76ca
Update nas_spec/code_samples/Node/standalone@{id}/get.js
marcos-amoros-cko Mar 8, 2023
d6d037b
Update nas_spec/code_samples/Node/standalone@{id}@collect-data/put.js
marcos-amoros-cko Mar 8, 2023
a220323
Update nas_spec/code_samples/Node/standalone@{id}@complete/post.js
marcos-amoros-cko Mar 8, 2023
a348bc7
Update nas_spec/code_samples/Node/standalone@{id}@issuer-fingerprint/…
marcos-amoros-cko Mar 8, 2023
eef0fac
Bump qs from 6.5.2 to 6.5.3 (#783)
dependabot[bot] Mar 8, 2023
cf1ddfc
Merge pull request #875 from checkout/task/new-authenticaiton-props
marcos-amoros-cko Mar 8, 2023
e014668
Updated `trusted_beneficiary` in `Standalone` with a better description
marcos-amoros-cko Mar 8, 2023
c830b4d
Bump express from 4.17.1 to 4.18.2 (#785)
dependabot[bot] Mar 8, 2023
58dcc15
Bump cookiejar from 2.1.2 to 2.1.4 (#826)
dependabot[bot] Mar 8, 2023
22b8f32
Bump @braintree/sanitize-url and swagger-ui (#874)
dependabot[bot] Mar 8, 2023
df610a2
Update nas_spec/components/schemas/Standalone/TrustedBeneficiary.yaml
marcos-amoros-cko Mar 8, 2023
dd305da
Update nas_spec/components/schemas/Standalone/TrustedBeneficiary.yaml
marcos-amoros-cko Mar 8, 2023
e61514f
Update nas_spec/components/schemas/Standalone/TrustedBeneficiary.yaml
marcos-amoros-cko Mar 8, 2023
aca0569
Update nas_spec/components/schemas/Standalone/TrustedBeneficiary.yaml
marcos-amoros-cko Mar 8, 2023
9c22146
Merge pull request #876 from checkout/task/add-standalone-trusted-ben…
marcos-amoros-cko Mar 8, 2023
366d62f
Merge branch 'master' into feature/add-go-samples
martinseco Mar 8, 2023
77a4440
Merge pull request #862 from martinseco/feature/add-go-samples
eoin-shaughnessy-cko Mar 9, 2023
94a7208
GTW-9346: Change account number desc (#871)
katy-hughes-cko Mar 13, 2023
7d4cd36
updated tamara product types
irena-saraci-cko Mar 14, 2023
964d8cd
Merge branch 'master' into taskl/APM-7372-add-product-type-options-fo…
irena-saraci-cko Mar 14, 2023
069c348
updated text
irena-saraci-cko Mar 14, 2023
4b5b307
addressed comments
irena-saraci-cko Mar 14, 2023
4816951
GTW-9533: Update descriptions.
trev-davies-cko Mar 15, 2023
e38e6ac
GTW-9533: Updated changelog.
trev-davies-cko Mar 15, 2023
5633de6
Merge master.
trev-davies-cko Mar 15, 2023
9bdee81
WE-2248 | Bumped actions and node version locks (#877)
adam-young-cko Mar 15, 2023
a19a6f4
Update nas_spec/components/schemas/Payments/CaptureRequestProcessingS…
Enrica-Mameli-cko Mar 16, 2023
c523f6d
Update nas_spec/components/schemas/Payments/PaymentRequestProcessingS…
Enrica-Mameli-cko Mar 16, 2023
aed03bb
Update nas_spec/components/schemas/Payments/ProcessingData.yaml
Enrica-Mameli-cko Mar 16, 2023
545a126
Update nas_spec/changelog.md
Enrica-Mameli-cko Mar 16, 2023
f63f043
Merge pull request #878 from checkout/gtw-9533-update-description-for…
eoin-shaughnessy-cko Mar 16, 2023
89ee642
Adding Forex Rates
chaz-doyle-cko Mar 16, 2023
a83bb5c
Updated changelog
chaz-doyle-cko Mar 16, 2023
d825639
Spelling mistake
chaz-doyle-cko Mar 16, 2023
2957ae9
Checking schema
chaz-doyle-cko Mar 16, 2023
dff187c
Array indenting
chaz-doyle-cko Mar 16, 2023
12014fd
Clean up
chaz-doyle-cko Mar 16, 2023
e1f71ba
Final clean-up
chaz-doyle-cko Mar 16, 2023
be32375
Update from PR comments
chaz-doyle-cko Mar 16, 2023
e38a511
missed file
chaz-doyle-cko Mar 16, 2023
1a34595
Spelling
chaz-doyle-cko Mar 21, 2023
af13047
Revert `standalone` path to point to `sessions`
marcos-amoros-cko Mar 21, 2023
4480479
Update nas_spec/changelog.md
marcos-amoros-cko Mar 21, 2023
e038e08
Merge pull request #886 from checkout/task/rename-standalone-path
marcos-amoros-cko Mar 21, 2023
3bf7806
Issuing API preview (#746)
cko-devops Mar 22, 2023
7dc7a28
Adjust issuing paths (#890)
fabio-corneti-cko Mar 22, 2023
785dd0c
Financial Actions API new query parameter `reference` (#885)
miguel-ferreira-cko Mar 22, 2023
48f9043
Updated description
chaz-doyle-cko Mar 23, 2023
31537ec
PR comments
chaz-doyle-cko Mar 23, 2023
c475f95
Merge branch 'master' into ptc-1765
chaz-doyle-cko Mar 23, 2023
661ce4c
Remove marketplace from HostedPayments & PaymentLinks
punit-shah-cko Mar 23, 2023
dcb014b
Update changelog
punit-shah-cko Mar 23, 2023
5e98c2f
Fix changelog entry
punit-shah-cko Mar 23, 2023
8c25207
Updated from PR
chaz-doyle-cko Mar 24, 2023
d1cce61
ptc-1765 | Merge pull request #880 from checkout/ptc-1765
chaz-doyle-cko Mar 24, 2023
1dcb1b7
Merge branch 'master' into PX-82-remove-marketplace
punit-shah-cko Mar 27, 2023
0537c3d
Merge pull request #891 from checkout/PX-82-remove-marketplace
punit-shah-cko Mar 27, 2023
fad823d
Add examples for card token instrument creation [DRAFT]
ethan-monkhouse-cko Mar 30, 2023
a07999f
WIP
ethan-monkhouse-cko Mar 30, 2023
22bb6b0
WIP
ethan-monkhouse-cko Mar 30, 2023
80e5bce
WIP
ethan-monkhouse-cko Mar 30, 2023
ec35d17
WIP
ethan-monkhouse-cko Mar 30, 2023
d79c83f
WIP
ethan-monkhouse-cko Mar 30, 2023
f0853f3
WIP
ethan-monkhouse-cko Mar 30, 2023
df6978e
WIP
ethan-monkhouse-cko Mar 30, 2023
d4f7b5b
WIP
ethan-monkhouse-cko Mar 30, 2023
43e0cf4
Draft version
ethan-monkhouse-cko Mar 30, 2023
e1a6dea
Rename PaymentInstrument schema
ethan-monkhouse-cko Mar 30, 2023
28f39be
Update changelog.md
ethan-monkhouse-cko Mar 30, 2023
2b34cb3
Updated hyperlink
chaz-doyle-cko Mar 30, 2023
eb8e32e
Changelog
chaz-doyle-cko Mar 30, 2023
104f3bf
ptc-1813 | Merge pull request #893 from checkout/ptc-1813
chaz-doyle-cko Mar 31, 2023
01392e4
Merge branch 'master' into mp-3811-add-card-instrument-examples
ethan-monkhouse-cko Apr 3, 2023
5862d6e
PR suggestions
ethan-monkhouse-cko Apr 3, 2023
dcb6dfa
Update nas_spec/components/schemas/Platforms/PaymentInstruments/BankA…
ethan-monkhouse-cko Apr 3, 2023
4043e52
Update nas_spec/components/schemas/Platforms/PaymentInstruments/Platf…
ethan-monkhouse-cko Apr 3, 2023
4210802
Update nas_spec/components/schemas/Platforms/PaymentInstruments/CardT…
ethan-monkhouse-cko Apr 3, 2023
b2fc805
Merge pull request #892 from checkout/mp-3811-add-card-instrument-exa…
ethan-monkhouse-cko Apr 3, 2023
ee9da2d
WIP
ethan-monkhouse-cko Apr 3, 2023
2693413
WIP
ethan-monkhouse-cko Apr 3, 2023
7bad009
Make required
ethan-monkhouse-cko Apr 3, 2023
066ffb4
WIP
ethan-monkhouse-cko Apr 3, 2023
09ce4f8
Update changelog.md
ethan-monkhouse-cko Apr 3, 2023
0d27ff0
Update nas_spec/components/schemas/Platforms/PaymentInstruments/Platf…
ethan-monkhouse-cko Apr 3, 2023
0e1eb76
Update nas_spec/paths/accounts@entities@{entityId}@payment-instrument…
ethan-monkhouse-cko Apr 3, 2023
3375e97
Merge pull request #894 from checkout/mp-3707-add-ifmatch-to-instrume…
ethan-monkhouse-cko Apr 3, 2023
c3f0177
Fix misspellings flagged by Monsido on API Ref
eoin-shaughnessy-cko Apr 5, 2023
12c157f
GTW-9347: bump NAS recipient.account_number max length from 10 -> 34 …
katy-hughes-cko Apr 5, 2023
3a0d673
Update OnboardSubEntity conflict response schema to include ID
chris-mannix-cko Apr 5, 2023
80bdea7
Changelog
chris-mannix-cko Apr 5, 2023
210f26b
Copy
chris-mannix-cko Apr 5, 2023
edb29ca
Update nas_spec/changelog.md
chris-mannix-cko Apr 5, 2023
51799d7
Update nas_spec/paths/[email protected]
chris-mannix-cko Apr 5, 2023
706d599
Merge pull request #898 from chris-mannix-cko/onboard-sub-entity-conf…
eoin-shaughnessy-cko Apr 5, 2023
42d08a2
GTW-9198: update IP address descriptions to accept ipv6 as well (#895)
katy-hughes-cko Apr 5, 2023
f5b8b03
Fix typo in Financial actions section of API Ref
eoin-shaughnessy-cko Apr 6, 2023
c0289e8
Merge pull request #899 from checkout/task/WRITING-1458
eoin-shaughnessy-cko Apr 6, 2023
33e8dd7
Replace duplicate content with link to auth failures doc
eoin-shaughnessy-cko Apr 11, 2023
88d2e07
Merge pull request #904 from checkout/task/WRITING-1462
eoin-shaughnessy-cko Apr 12, 2023
9ff9c84
Add field limit info to Request a payment metadata description
eoin-shaughnessy-cko Apr 13, 2023
dd887fc
Merge pull request #897 from checkout/task/WRITING-1455
gareth-forshaw-cko Apr 14, 2023
9a7cf2f
GTW-9660: Add authentication_status_reason field to 3ds object (#906)
katy-hughes-cko Apr 19, 2023
884fc8a
Adds payment date error code explanation to Get payment lists endpoin…
sebastian-garcia-cardona-cko Apr 19, 2023
ab3127b
Explicit example DateTime values for Reports API list query parameter…
miguel-ferreira-cko Apr 20, 2023
9acc89d
Rename description for date range parameters in Reports API (#913)
miguel-ferreira-cko Apr 20, 2023
b308252
chore: PX-220 remove Giropay payment method from NAS Hosted Payments …
castiel-ho-cko Apr 21, 2023
0ef4d3a
Merge pull request #916 from checkout/chore/PX-220-remove-giropay-fro…
castiel-ho-cko Apr 24, 2023
dc0e0fd
Merge pull request #905 from checkout/task/WRITING-1396
eoin-shaughnessy-cko Apr 26, 2023
476a5a8
GTW-9823: Add local_schemes and depricate scheme_local (#926)
vasil-pashkov-cko May 11, 2023
fe7bc03
Update min length of Sender.reference
ija-saporenkova-cko May 15, 2023
a0184af
Update changelog.md
ija-saporenkova-cko May 16, 2023
187d5da
CodeQL workflow for Java, Python, C#, Go, JavaScript (#932)
cko-developer-portal[bot] May 17, 2023
b8628cf
WE-2034 | Update Codeowners file and links after migration (#933)
weronika-castiglione-cko May 17, 2023
f638e2c
Merge pull request #931 from cko-web/PTC-1874
ija-saporenkova-cko May 17, 2023
56881ab
make codeowners for prs more specific (#934)
weronika-castiglione-cko May 17, 2023
ffa42ff
feat(issuing): simulate preauth auths & reversals (#920)
heman-dookhee-cko May 18, 2023
02bc42b
Update field requirements in PhoneNumber object
eoin-shaughnessy-cko May 19, 2023
813d0b8
Bump requests from 2.26.0 to 2.31.0 in /scripts/link_checker
dependabot[bot] May 23, 2023
90af0e2
Merge pull request #937 from cko-web/dependabot/pip/scripts/link_chec…
weronika-castiglione-cko May 23, 2023
59d8fd5
Merge pull request #935 from cko-web/task/WRITING-1593
eoin-shaughnessy-cko May 23, 2023
35f80dd
Merge pull request #938 from cko-web/resync-staging
weronika-castiglione-cko May 25, 2023
df459e4
feat(issuing): simulate clearing (#936)
heman-dookhee-cko May 26, 2023
5490968
Clarify that previous_payment_id is for MITs only
eoin-shaughnessy-cko May 26, 2023
7bf4b11
Restore field description
eoin-shaughnessy-cko May 30, 2023
b49a45a
FX-2837: Remove Quotes API from public api spec
kamal-mahmassani-cko May 30, 2023
b028e48
Frontload description
eoin-shaughnessy-cko May 30, 2023
2c3d1af
Add space
eoin-shaughnessy-cko May 30, 2023
04a85ee
Updating Readme.md for Public/Private update - Task/writing 1041 (#930)
gareth-forshaw-cko May 31, 2023
0ef5b54
Apply suggestion from SME review
eoin-shaughnessy-cko May 31, 2023
22bf391
Merge pull request #939 from cko-web/task/WRITING-1606
eoin-shaughnessy-cko May 31, 2023
c0957a8
Merge pull request #942 from cko-web/staging
eoin-shaughnessy-cko May 31, 2023
a333593
Changelog
kamal-mahmassani-cko May 31, 2023
2cfe64f
Merge branch 'staging' into FX-2837
kamal-mahmassani-cko May 31, 2023
faa4b0c
whitespace to align changelog
kamal-mahmassani-cko May 31, 2023
e4865df
remove empty line
kamal-mahmassani-cko May 31, 2023
54b2a5c
Merge pull request #944 from cko-web/FX-2837
kamal-mahmassani-cko May 31, 2023
72b1099
AUTH-2751: Added new props in `CardholderAccountInfo` and `MerchantRi…
thyago-falconi-cko Jun 6, 2023
1889984
Added Date time format and examples
thyago-falconi-cko Jun 7, 2023
bdbfa06
Added fields to response
thyago-falconi-cko Jun 7, 2023
1057a78
GTW-9188: Update With LocalBillingDescriptor.yaml (#947)
fin-gordon-cko Jun 7, 2023
d2c0bb4
Merge pull request #952 from cko-web/staging
sebastian-garcia-cardona-cko Jun 7, 2023
6443531
Merge branch 'staging' into AUTH-2751
thyago-falconi-cko Jun 7, 2023
6173b4f
Description fix
thyago-falconi-cko Jun 8, 2023
a76819c
Update nas_spec/components/schemas/Standalone/CardholderAccountInfo.yaml
thyago-falconi-cko Jun 12, 2023
159fd66
Update nas_spec/components/schemas/Standalone/CardholderAccountInfo.yaml
thyago-falconi-cko Jun 12, 2023
012e9d2
Update nas_spec/components/schemas/Standalone/ThreeDsRequestorAuthent…
thyago-falconi-cko Jun 12, 2023
aadb944
Update nas_spec/components/schemas/Standalone/ThreeDsRequestorAuthent…
thyago-falconi-cko Jun 12, 2023
f35b82d
Update nas_spec/components/schemas/Standalone/ThreeDsRequestorAuthent…
thyago-falconi-cko Jun 12, 2023
9b9ccf6
Update nas_spec/components/schemas/Standalone/ThreeDsRequestorAuthent…
thyago-falconi-cko Jun 12, 2023
5221ae5
Update nas_spec/components/schemas/Standalone/ThreeDsRequestorAuthent…
thyago-falconi-cko Jun 12, 2023
e1595ed
Update nas_spec/components/schemas/Standalone/CardholderAccountInfo.yaml
thyago-falconi-cko Jun 12, 2023
13f88e7
Update nas_spec/components/schemas/Standalone/CardholderAccountInfo.yaml
thyago-falconi-cko Jun 12, 2023
dd0eb21
Update nas_spec/components/schemas/Standalone/CardholderAccountInfo.yaml
thyago-falconi-cko Jun 12, 2023
81ecc4e
Update nas_spec/components/schemas/Standalone/CardholderAccountInfo.yaml
thyago-falconi-cko Jun 12, 2023
e3f7539
Update nas_spec/components/schemas/Standalone/CardholderAccountInfo.yaml
thyago-falconi-cko Jun 12, 2023
59fd0c9
Update nas_spec/components/schemas/Standalone/CardholderAccountInfo.yaml
thyago-falconi-cko Jun 12, 2023
6f7293c
Update nas_spec/components/schemas/Standalone/CardholderAccountInfo.yaml
thyago-falconi-cko Jun 12, 2023
697700a
Update nas_spec/components/schemas/Standalone/CardholderAccountInfo.yaml
thyago-falconi-cko Jun 12, 2023
840ed42
Update nas_spec/components/schemas/Standalone/CardholderAccountInfo.yaml
thyago-falconi-cko Jun 12, 2023
5de9d28
Update nas_spec/components/schemas/Standalone/CardholderAccountInfo.yaml
thyago-falconi-cko Jun 12, 2023
4d01cee
Update nas_spec/components/schemas/Standalone/CardholderAccountInfo.yaml
thyago-falconi-cko Jun 12, 2023
f25c8ce
Update nas_spec/components/schemas/Standalone/CardholderAccountInfo.yaml
thyago-falconi-cko Jun 12, 2023
b35047d
Update nas_spec/components/schemas/Standalone/CardholderAccountInfo.yaml
thyago-falconi-cko Jun 12, 2023
1398783
Update nas_spec/components/schemas/Standalone/CardholderAccountInfo.yaml
thyago-falconi-cko Jun 12, 2023
7e9be74
Update nas_spec/components/schemas/Standalone/CardholderAccountInfo.yaml
thyago-falconi-cko Jun 12, 2023
f42724a
Update nas_spec/components/schemas/Standalone/CardholderAccountInfo.yaml
thyago-falconi-cko Jun 12, 2023
57dcec2
Update nas_spec/components/schemas/Standalone/CardholderAccountInfo.yaml
thyago-falconi-cko Jun 12, 2023
7433d6f
Update nas_spec/components/schemas/Standalone/CardholderAccountInfo.yaml
thyago-falconi-cko Jun 12, 2023
9d4f64a
Update nas_spec/components/schemas/Standalone/CardholderAccountInfo.yaml
thyago-falconi-cko Jun 12, 2023
634b86a
Update nas_spec/components/schemas/Standalone/MerchantRiskInfo.yaml
thyago-falconi-cko Jun 12, 2023
b208a4c
Update nas_spec/components/schemas/Standalone/MerchantRiskInfo.yaml
thyago-falconi-cko Jun 12, 2023
6d50421
Update nas_spec/components/schemas/Standalone/MerchantRiskInfo.yaml
thyago-falconi-cko Jun 12, 2023
956a0d3
Update nas_spec/components/schemas/Standalone/MerchantRiskInfo.yaml
thyago-falconi-cko Jun 12, 2023
b98e788
Apply suggestions from code review
thyago-falconi-cko Jun 12, 2023
e5d7c17
Update nas_spec/components/schemas/Standalone/CardholderAccountInfo.yaml
thyago-falconi-cko Jun 12, 2023
16be265
Apply suggestions from code review
thyago-falconi-cko Jun 12, 2023
658ed46
Merge pull request #951 from cko-web/AUTH-2751
thyago-falconi-cko Jun 12, 2023
22d7f0f
Merge pull request #953 from cko-web/staging
eoin-shaughnessy-cko Jun 14, 2023
11b786d
feat: simulate refund for issuing (#950)
ashwin-dhondee-cko Jun 14, 2023
c19b1c7
Adds workflow to post in tech writers channel when a PR into master i…
sebastian-garcia-cardona-cko Jun 14, 2023
76d9f0e
Merge pull request #955 from cko-web/staging
sebastian-garcia-cardona-cko Jun 15, 2023
e550a3a
Publish new API Specification
zlata-shtamburg-cko Jun 20, 2023
46c2d54
Merge pull request #957 from cko-web/58572aa6
zlata-shtamburg-cko Jun 21, 2023
fd4e9d7
Updates ReadMe with new processes (#959)
sebastian-garcia-cardona-cko Jun 21, 2023
2831e77
Merge pull request #960 from cko-web/staging
gareth-forshaw-cko Jun 21, 2023
b51813f
Update 3ds.attempt_n3d description
eoin-shaughnessy-cko Jun 23, 2023
7466afc
Apply TW suggestion
eoin-shaughnessy-cko Jun 23, 2023
f537984
Merge pull request #966 from cko-web/task/WRITING-1678
eoin-shaughnessy-cko Jun 27, 2023
579b86a
Publish new API Specification
colm-prunty-cko Jun 27, 2023
22c7ce4
Added fields to Authentication documents for Optimization (#970)
andrew-malone-cko Jun 27, 2023
9ce9f9e
Add account holder data to giropay payment request and responses
guven-kurt-cko Jun 28, 2023
ff4c868
Add changelog entry
guven-kurt-cko Jun 28, 2023
897881a
auth-2335 3ri docs (#964)
josh-baker-cko Jun 28, 2023
20dbdd5
Merge branch 'staging' into Task/APM-7836/APM-8376/giropay-account-ho…
guven-kurt-cko Jun 28, 2023
fc2bbcc
Merge pull request #974 from cko-web/Task/APM-7836/APM-8376/giropay-a…
guven-kurt-cko Jun 28, 2023
260a24d
Merge pull request #975 from cko-web/staging
sebastian-garcia-cardona-cko Jun 28, 2023
87a0adb
Merge branch 'staging' into c8ba7b4e
zlata-shtamburg-cko Jun 28, 2023
0c6f211
Merge pull request #971 from cko-web/c8ba7b4e
zlata-shtamburg-cko Jun 28, 2023
644603f
Add missing initial transaction doc (#976)
josh-baker-cko Jun 28, 2023
532633f
Merge pull request #977 from cko-web/staging
sebastian-garcia-cardona-cko Jun 28, 2023
e8da433
Updates copyright year on footer (#979)
sebastian-garcia-cardona-cko Jun 29, 2023
ef52110
NTS-1720 Update for RetrieveEvents (NAS) and workflow conditions (MBC…
dev-foister-cko Jul 3, 2023
388b5f3
MP-4100: Add `holding_currencies` to entity profile (#981)
chris-mannix-cko Jul 4, 2023
bd3f9ac
MP-4100: Add ability to specify currency on transfer source (#982)
chris-mannix-cko Jul 4, 2023
9a36046
Merge pull request #984 from cko-web/staging
eoin-shaughnessy-cko Jul 5, 2023
8484469
MP-4118: Remove deprecated `/instruments` endpoint from Platforms API…
chris-mannix-cko Jul 5, 2023
36c62b7
Update Financial Actions API with new properties (#983)
miguel-ferreira-cko Jul 6, 2023
6dfe16d
Merge branch 'master' into taskl/APM-7372-add-product-type-options-fo…
irena-saraci-cko Jul 6, 2023
ae35663
updated change log
irena-saraci-cko Jul 6, 2023
69255af
Task/nts 1644 update patch workflow api spec (#987)
nikolay-tinchev-cko Jul 7, 2023
463cb2a
Add info to README about not requesting Vercel access
eoin-shaughnessy-cko Jul 7, 2023
9b686b8
Remove Beta tag from Financial Actions API (#989)
miguel-ferreira-cko Jul 10, 2023
7a12b1b
Merge pull request #988 from cko-web/task/WRITING-1707
eoin-shaughnessy-cko Jul 11, 2023
ec355ee
Merge pull request #991 from cko-web/staging
eoin-shaughnessy-cko Jul 12, 2023
8255dda
Merge branch 'master' into task/APM-7372-tamara-api-reference
irena-saraci-cko Jul 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
* @adam-young-cko @weronika-castiglione-cko

/abc_spec/ @cko-web/docs-writers
/nas_spec/ @cko-web/docs-writers

/abc_spec/components/schemas/Payments/ @cko-web/gateway-product-cko
/nas_spec/components/schemas/Payments/ @cko-web/gateway-product-cko

/nas_spec/components/schemas/PaymentLinks/ @cko-web/payment-experience-cko
/nas_spec/components/schemas/HostedPayments/ @cko-web/payment-experience-cko
7 changes: 7 additions & 0 deletions .github/actions/push-to-another-repository/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM alpine:latest

RUN apk add --no-cache git git-lfs openssh-client

COPY entrypoint.sh /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]
3 changes: 3 additions & 0 deletions .github/actions/push-to-another-repository/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Based on [push-to-another-repository](https://github.com/marketplace/actions/push-directory-to-another-repository) action.

See [documentation](https://cpina.github.io/push-to-another-repository-docs/overview.html)
69 changes: 69 additions & 0 deletions .github/actions/push-to-another-repository/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Push directory to another repository
description: >-
Useful to push files to another repository to be used, for example, via github
pages
inputs:
source-before-directory:
description: Source before directory from the origin directory
required: false
source-directory:
description: Source directory from the origin directory
required: true
destination-github-username:
description: Name of the destination username/organization
required: true
destination-repository-name:
description: Destination repository
required: true
user-email:
description: Email for the git commit
required: true
github-server:
description: 'Github server'
default: 'github.com'
required: false
user-name:
description: >-
[Optional] Name for the git commit. Defaults to the destination
username/organization name
required: false
default: ''
destination-repository-username:
description: '[Optional] Username/organization for the destination repository'
required: false
default: ''
target-branch:
description: >-
[Optional] set target branch name for the destination repository. Defaults
to "main"
default: main
required: false
commit-message:
description: >-
[Optional] commit message for the output repository. ORIGIN_COMMIT is
replaced by the URL@commit in the origin repo
default: Update from ORIGIN_COMMIT
required: false
target-directory:
description: '[Optional] The directory to wipe and replace in the target repository'
default: ''
required: false

runs:
using: docker
image: Dockerfile
args:
- '${{ inputs.source-before-directory }}'
- '${{ inputs.source-directory }}'
- '${{ inputs.destination-github-username }}'
- '${{ inputs.destination-repository-name }}'
- '${{ inputs.github-server }}'
- '${{ inputs.user-email }}'
- '${{ inputs.user-name }}'
- '${{ inputs.destination-repository-username }}'
- '${{ inputs.target-branch }}'
- '${{ inputs.commit-message }}'
- '${{ inputs.target-directory }}'
branding:
icon: git-commit
color: green
152 changes: 152 additions & 0 deletions .github/actions/push-to-another-repository/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
#!/bin/sh -l

set -e # if a command fails it stops the execution
set -u # script fails if trying to access to an undefined variable

echo "[+] Action start"
SOURCE_BEFORE_DIRECTORY="${1}"
SOURCE_DIRECTORY="${2}"
DESTINATION_GITHUB_USERNAME="${3}"
DESTINATION_REPOSITORY_NAME="${4}"
GITHUB_SERVER="${5}"
USER_EMAIL="${6}"
USER_NAME="${7}"
DESTINATION_REPOSITORY_USERNAME="${8}"
TARGET_BRANCH="${9}"
COMMIT_MESSAGE="${10}"
TARGET_DIRECTORY="${11}"

if [ -z "$DESTINATION_REPOSITORY_USERNAME" ]
then
DESTINATION_REPOSITORY_USERNAME="$DESTINATION_GITHUB_USERNAME"
fi

if [ -z "$USER_NAME" ]
then
USER_NAME="$DESTINATION_GITHUB_USERNAME"
fi

# Verify that there (potentially) some access to the destination repository
# and set up git (with GIT_CMD variable) and GIT_CMD_REPOSITORY
if [ -n "${SSH_DEPLOY_KEY:=}" ]
then
echo "[+] Using SSH_DEPLOY_KEY"

# Inspired by https://github.com/leigholiver/commit-with-deploy-key/blob/main/entrypoint.sh , thanks!
mkdir --parents "$HOME/.ssh"
DEPLOY_KEY_FILE="$HOME/.ssh/deploy_key"
echo "${SSH_DEPLOY_KEY}" > "$DEPLOY_KEY_FILE"
chmod 600 "$DEPLOY_KEY_FILE"

SSH_KNOWN_HOSTS_FILE="$HOME/.ssh/known_hosts"
ssh-keyscan -H "$GITHUB_SERVER" > "$SSH_KNOWN_HOSTS_FILE"

export GIT_SSH_COMMAND="ssh -i "$DEPLOY_KEY_FILE" -o UserKnownHostsFile=$SSH_KNOWN_HOSTS_FILE"

GIT_CMD_REPOSITORY="git@$GITHUB_SERVER:$DESTINATION_REPOSITORY_USERNAME/$DESTINATION_REPOSITORY_NAME.git"

elif [ -n "${API_TOKEN_GITHUB:=}" ]
then
echo "[+] Using API_TOKEN_GITHUB"
GIT_CMD_REPOSITORY="https://$DESTINATION_REPOSITORY_USERNAME:$API_TOKEN_GITHUB@$GITHUB_SERVER/$DESTINATION_REPOSITORY_USERNAME/$DESTINATION_REPOSITORY_NAME.git"
else
echo "::error::API_TOKEN_GITHUB and SSH_DEPLOY_KEY are empty. Please fill one (recommended the SSH_DEPLOY_KEY)"
exit 1
fi


CLONE_DIR=$(mktemp -d)

echo "[+] Git version"
git --version

echo "[+] Enable git lfs"
git lfs install

echo "[+] Cloning destination git repository $DESTINATION_REPOSITORY_NAME"
# Setup git
git config --global user.email "$USER_EMAIL"
git config --global user.name "$USER_NAME"

{
git clone --single-branch --depth 1 --branch "$TARGET_BRANCH" "$GIT_CMD_REPOSITORY" "$CLONE_DIR"
} || {
echo "::error::Could not clone the destination repository. Command:"
echo "::error::git clone --single-branch --branch $TARGET_BRANCH $GIT_CMD_REPOSITORY $CLONE_DIR"
echo "::error::(Note that if they exist USER_NAME and API_TOKEN is redacted by GitHub)"
echo "::error::Please verify that the target repository exist AND that it contains the destination branch name, and is accesible by the API_TOKEN_GITHUB OR SSH_DEPLOY_KEY"
exit 1

}
ls -la "$CLONE_DIR"

TEMP_DIR=$(mktemp -d)
# This mv has been the easier way to be able to remove files that were there
# but not anymore. Otherwise we had to remove the files from "$CLONE_DIR",
# including "." and with the exception of ".git/"
mv "$CLONE_DIR/.git" "$TEMP_DIR/.git"

# $TARGET_DIRECTORY is '' by default
ABSOLUTE_TARGET_DIRECTORY="$CLONE_DIR/$TARGET_DIRECTORY/"

echo "[+] Deleting $ABSOLUTE_TARGET_DIRECTORY"
rm -rf "$ABSOLUTE_TARGET_DIRECTORY"

echo "[+] Creating (now empty) $ABSOLUTE_TARGET_DIRECTORY"
mkdir -p "$ABSOLUTE_TARGET_DIRECTORY"

echo "[+] Listing Current Directory Location"
ls -al

echo "[+] Listing root Location"
ls -al /

mv "$TEMP_DIR/.git" "$CLONE_DIR/.git"

echo "[+] List contents of $SOURCE_DIRECTORY"
ls "$SOURCE_DIRECTORY"

echo "[+] Checking if local $SOURCE_DIRECTORY exist"
if [ ! -d "$SOURCE_DIRECTORY" ]
then
echo "ERROR: $SOURCE_DIRECTORY does not exist"
echo "This directory needs to exist when push-to-another-repository is executed"
echo
echo "In the example it is created by ./build.sh: https://github.com/cpina/push-to-another-repository-example/blob/main/.github/workflows/ci.yml#L19"
echo
echo "If you want to copy a directory that exist in the source repository"
echo "to the target repository: you need to clone the source repository"
echo "in a previous step in the same build section. For example using"
echo "actions/checkout@v2. See: https://github.com/cpina/push-to-another-repository-example/blob/main/.github/workflows/ci.yml#L16"
exit 1
fi

echo "[+] Copying contents of source repository folder $SOURCE_DIRECTORY to folder $TARGET_DIRECTORY in git repo $DESTINATION_REPOSITORY_NAME"
cp -ra "$SOURCE_DIRECTORY"/. "$CLONE_DIR/$TARGET_DIRECTORY"
cd "$CLONE_DIR"

echo "[+] Files that will be pushed"
ls -la

ORIGIN_COMMIT="https://$GITHUB_SERVER/$GITHUB_REPOSITORY/commit/$GITHUB_SHA"
COMMIT_MESSAGE="${COMMIT_MESSAGE/ORIGIN_COMMIT/$ORIGIN_COMMIT}"
COMMIT_MESSAGE="${COMMIT_MESSAGE/\$GITHUB_REF/$GITHUB_REF}"

echo "[+] Set directory is safe ($CLONE_DIR)"
# Related to https://github.com/cpina/github-action-push-to-another-repository/issues/64 and https://github.com/cpina/github-action-push-to-another-repository/issues/64
# TODO: review before releasing it as a version
git config --global --add safe.directory "$CLONE_DIR"

echo "[+] Adding git commit"
git add .

echo "[+] git status:"
git status

echo "[+] git diff-index:"
# git diff-index : to avoid doing the git commit failing if there are no changes to be commit
git diff-index --quiet HEAD || git commit --message "$COMMIT_MESSAGE"

echo "[+] Pushing git commit"
# --set-upstream: sets de branch when pushing to a branch that does not exist
git push "$GIT_CMD_REPOSITORY" --set-upstream "$TARGET_BRANCH"
10 changes: 10 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Description of changes in PR

[//]: # 'Please add your description here'

## Checklist

- [ ] Added a changelog entry to the `changelog.md` file in either `abc_spec` or `nas_spec`
- [ ] Contacted the Tech Docs team about any corresponding guides that need to be updated for www.checkout.com/docs

**Contributing options**: Look at [our documentation](https://checkout.atlassian.net/wiki/spaces/PD/pages/2169506663/API+ref+publication+process) for options to contribute to the API reference.
33 changes: 33 additions & 0 deletions .github/workflows/actions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Node.js CI

on: [ pull_request ]

env:
CI: true

jobs:
run-checks:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: 16.x

- name: Install node modules
run: npm ci --ignore-scripts

- name: Build ABC & NAS specs
run: npm run build:all

- name: Validate schema
run: |
npm run test:abc
npm run test:nas

- uses: actions/upload-artifact@master
with:
name: my-artifact
path: web_deploy
90 changes: 90 additions & 0 deletions .github/workflows/apm-pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# This is a basic workflow to help you get started with Actions

name: Creates a PR for APM changes in documentation around APM

on:
push:
branches:
- 'main'

env:
CI: true
PAT: ${{ secrets.PAT }}

jobs:
upload-spec:
runs-on: ubuntu-latest
steps:
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: extract_branch

- uses: actions/checkout@v3
with:
persist-credentials: true
repository: your_team/checkout-api-reference
ref: ${{ steps.extract_branch.outputs.branch }}

- name: Delete non-Demo files
run: |
echo ********** Listing contents of spec/ ************
ls spec/*/**
echo ********** Created an empty folder ************
mkdir newspec
echo ********** Copying over what we need into the new folder ************
mkdir -p newspec/components/schemas
cp -r spec/components/**/Demo newspec/components/schemas
mkdir -p newspec/paths
cp spec/paths/demo*.* newspec/paths
echo ********** Listing contents of newspec/ ************
ls spec/*/**
echo ********** Creating copies of spec for ABC and NAS ************
cp -r newspec/ nas_spec/
cp -r newspec/ abc_spec/
echo ********** Ready to upload specs ************

- uses: actions/upload-artifact@v3
with:
name: specification
path: newspec/

publish-spec:
runs-on: ubuntu-latest
needs: upload-spec
steps:
- uses: actions/download-artifact@v3
with:
name: specification
path: src_spec

- name: Fetch Checkout Api Reference repository
uses: actions/checkout@v3
with:
repository: checkout/checkout-api-reference
ref: master
token: ${{ env.PAT }}
path: src

- name: Commit Api specification
working-directory: src
run: |
git config user.email "[email protected]" && git config user.name "$GITHUB_ACTOR"
git branch -m "{{team}}/Api-Spec"
rsync -a ../src_spec/ abc_spec/
rsync -a ../src_spec/ nas_spec/
git add .
git commit -m 'Publish new API Specification'
git push origin HEAD

- uses: actions/github-script@v4
with:
github-token: ${{ env.PAT }}
script: |
await github.pulls.create({
owner: 'checkout',
repo: 'checkout-api-reference',
head: "{{team}}/Api-Spec",
base: 'master',
title: "{team}: Update API Specification"
});
Loading