Skip to content

Commit 0e5937f

Browse files
docs: update http mcp docs
1 parent 884d709 commit 0e5937f

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

packages/mcp-server/src/local-docs-search.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
258258
},
259259
http: {
260260
example:
261-
"curl https://api.lithic.com/v1/accounts/$ACCOUNT_TOKEN \\\n -X PATCH \\\n -H 'Content-Type: application/json' \\\n -H \"Authorization: $LITHIC_API_KEY\" \\\n -d '{}'",
261+
'curl https://api.lithic.com/v1/accounts/$ACCOUNT_TOKEN \\\n -X PATCH \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: $LITHIC_API_KEY" \\\n -d \'{\n "daily_spend_limit": 1000\n }\'',
262262
},
263263
},
264264
},
@@ -732,7 +732,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
732732
},
733733
http: {
734734
example:
735-
"curl https://api.lithic.com/v1/simulate/account_holders/enrollment_review \\\n -H 'Content-Type: application/json' \\\n -H \"Authorization: $LITHIC_API_KEY\" \\\n -d '{}'",
735+
'curl https://api.lithic.com/v1/simulate/account_holders/enrollment_review \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: $LITHIC_API_KEY" \\\n -d \'{\n "account_holder_token": "1415964d-4400-4d79-9fb3-eee0faaee4e4",\n "status": "ACCEPTED",\n "status_reasons": [\n "PRIMARY_BUSINESS_ENTITY_ID_VERIFICATION_FAILURE"\n ]\n }\'',
736736
},
737737
},
738738
},
@@ -1831,7 +1831,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
18311831
},
18321832
http: {
18331833
example:
1834-
'curl https://api.lithic.com/v1/simulate/tokenizations \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: $LITHIC_API_KEY" \\\n -d \'{\n "cvv": "776",\n "expiration_date": "08/29",\n "pan": "4111111289144142",\n "tokenization_source": "APPLE_PAY"\n }\'',
1834+
'curl https://api.lithic.com/v1/simulate/tokenizations \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: $LITHIC_API_KEY" \\\n -d \'{\n "cvv": "776",\n "expiration_date": "08/29",\n "pan": "4111111289144142",\n "tokenization_source": "APPLE_PAY",\n "account_score": 5,\n "device_score": 5,\n "wallet_recommended_decision": "APPROVED"\n }\'',
18351835
},
18361836
},
18371837
},
@@ -2369,7 +2369,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
23692369
},
23702370
http: {
23712371
example:
2372-
'curl https://api.lithic.com/v1/cards \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: $LITHIC_API_KEY" \\\n -d \'{\n "type": "VIRTUAL",\n "bulk_order_token": "5e9483eb-8103-4e16-9794-2106111b2eca",\n "card_program_token": "5e9483eb-8103-4e16-9794-2106111b2eca",\n "digital_card_art_token": "5e9483eb-8103-4e16-9794-2106111b2eca",\n "exp_month": "06",\n "exp_year": "2027",\n "memo": "New Card",\n "product_id": "1",\n "replacement_account_token": "5e9483eb-8103-4e16-9794-2106111b2eca",\n "replacement_for": "5e9483eb-8103-4e16-9794-2106111b2eca"\n }\'',
2372+
'curl https://api.lithic.com/v1/cards \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: $LITHIC_API_KEY" \\\n -d \'{\n "type": "VIRTUAL",\n "bulk_order_token": "5e9483eb-8103-4e16-9794-2106111b2eca",\n "card_program_token": "5e9483eb-8103-4e16-9794-2106111b2eca",\n "digital_card_art_token": "5e9483eb-8103-4e16-9794-2106111b2eca",\n "exp_month": "06",\n "exp_year": "2027",\n "memo": "New Card",\n "product_id": "1",\n "replacement_account_token": "5e9483eb-8103-4e16-9794-2106111b2eca",\n "replacement_for": "5e9483eb-8103-4e16-9794-2106111b2eca",\n "spend_limit": 1000,\n "spend_limit_duration": "TRANSACTION",\n "state": "OPEN"\n }\'',
23732373
},
23742374
},
23752375
},
@@ -2482,7 +2482,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
24822482
},
24832483
http: {
24842484
example:
2485-
'curl https://api.lithic.com/v1/cards/$CARD_TOKEN \\\n -X PATCH \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: $LITHIC_API_KEY" \\\n -d \'{\n "digital_card_art_token": "00000000-0000-0000-1000-000000000000",\n "memo": "Updated Name",\n "network_program_token": "00000000-0000-0000-1000-000000000000"\n }\'',
2485+
'curl https://api.lithic.com/v1/cards/$CARD_TOKEN \\\n -X PATCH \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: $LITHIC_API_KEY" \\\n -d \'{\n "digital_card_art_token": "00000000-0000-0000-1000-000000000000",\n "memo": "Updated Name",\n "network_program_token": "00000000-0000-0000-1000-000000000000",\n "spend_limit": 100,\n "spend_limit_duration": "FOREVER",\n "state": "OPEN"\n }\'',
24862486
},
24872487
},
24882488
},
@@ -2541,7 +2541,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
25412541
},
25422542
http: {
25432543
example:
2544-
"curl https://api.lithic.com/v1/cards/$CARD_TOKEN/provision \\\n -H 'Content-Type: application/json' \\\n -H \"Authorization: $LITHIC_API_KEY\" \\\n -d '{}'",
2544+
'curl https://api.lithic.com/v1/cards/$CARD_TOKEN/provision \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: $LITHIC_API_KEY" \\\n -d \'{\n "digital_wallet": "GOOGLE_PAY"\n }\'',
25452545
},
25462546
},
25472547
},
@@ -2598,7 +2598,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
25982598
},
25992599
http: {
26002600
example:
2601-
"curl https://api.lithic.com/v1/cards/$CARD_TOKEN/reissue \\\n -H 'Content-Type: application/json' \\\n -H \"Authorization: $LITHIC_API_KEY\" \\\n -d '{}'",
2601+
'curl https://api.lithic.com/v1/cards/$CARD_TOKEN/reissue \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: $LITHIC_API_KEY" \\\n -d \'{\n "carrier": {\n "qr_code_url": "https://lithic.com/activate-card/1"\n },\n "product_id": "100",\n "shipping_address": {\n "address1": "5 Broad Street",\n "city": "NEW YORK",\n "country": "USA",\n "first_name": "Janet",\n "last_name": "Yellen",\n "postal_code": "10001",\n "state": "NY",\n "address2": "Unit 5A"\n },\n "shipping_method": "STANDARD"\n }\'',
26022602
},
26032603
},
26042604
},
@@ -2757,7 +2757,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
27572757
},
27582758
http: {
27592759
example:
2760-
'curl https://api.lithic.com/v1/cards/$CARD_TOKEN/renew \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: $LITHIC_API_KEY" \\\n -d \'{\n "shipping_address": {\n "address1": "5 Broad Street",\n "city": "NEW YORK",\n "country": "USA",\n "first_name": "Janet",\n "last_name": "Yellen",\n "postal_code": "10001",\n "state": "NY",\n "address2": "Unit 5A"\n },\n "exp_month": "06",\n "exp_year": "2027"\n }\'',
2760+
'curl https://api.lithic.com/v1/cards/$CARD_TOKEN/renew \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: $LITHIC_API_KEY" \\\n -d \'{\n "shipping_address": {\n "address1": "5 Broad Street",\n "city": "NEW YORK",\n "country": "USA",\n "first_name": "Janet",\n "last_name": "Yellen",\n "postal_code": "10001",\n "state": "NY",\n "address2": "Unit 5A"\n },\n "carrier": {\n "qr_code_url": "https://lithic.com/activate-card/1"\n },\n "exp_month": "06",\n "exp_year": "2027",\n "product_id": "100",\n "shipping_method": "STANDARD"\n }\'',
27612761
},
27622762
},
27632763
},
@@ -2865,7 +2865,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
28652865
},
28662866
http: {
28672867
example:
2868-
'curl https://api.lithic.com/v1/cards/$CARD_TOKEN/convert_physical \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: $LITHIC_API_KEY" \\\n -d \'{\n "shipping_address": {\n "address1": "5 Broad Street",\n "city": "NEW YORK",\n "country": "USA",\n "first_name": "Janet",\n "last_name": "Yellen",\n "postal_code": "10001",\n "state": "NY",\n "address2": "Unit 5A"\n }\n }\'',
2868+
'curl https://api.lithic.com/v1/cards/$CARD_TOKEN/convert_physical \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: $LITHIC_API_KEY" \\\n -d \'{\n "shipping_address": {\n "address1": "5 Broad Street",\n "city": "NEW YORK",\n "country": "USA",\n "first_name": "Janet",\n "last_name": "Yellen",\n "postal_code": "10001",\n "state": "NY",\n "address2": "Unit 5A"\n },\n "carrier": {\n "qr_code_url": "https://lithic.com/activate-card/1"\n },\n "product_id": "100",\n "shipping_method": "STANDARD"\n }\'',
28692869
},
28702870
},
28712871
},
@@ -2922,7 +2922,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
29222922
},
29232923
http: {
29242924
example:
2925-
"curl https://api.lithic.com/v1/cards/$CARD_TOKEN/web_provision \\\n -H 'Content-Type: application/json' \\\n -H \"Authorization: $LITHIC_API_KEY\" \\\n -d '{}'",
2925+
'curl https://api.lithic.com/v1/cards/$CARD_TOKEN/web_provision \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: $LITHIC_API_KEY" \\\n -d \'{\n "digital_wallet": "APPLE_PAY"\n }\'',
29262926
},
29272927
},
29282928
},
@@ -3460,7 +3460,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
34603460
},
34613461
http: {
34623462
example:
3463-
'curl https://api.lithic.com/v1/disputes \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: $LITHIC_API_KEY" \\\n -d \'{\n "amount": 10000,\n "reason": "FRAUD_CARD_PRESENT",\n "transaction_token": "12345624-aa69-4cbc-a946-30d90181b621"\n }\'',
3463+
'curl https://api.lithic.com/v1/disputes \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: $LITHIC_API_KEY" \\\n -d \'{\n "amount": 10000,\n "reason": "FRAUD_CARD_PRESENT",\n "transaction_token": "12345624-aa69-4cbc-a946-30d90181b621",\n "customer_filed_date": "2021-06-28T22:53:15Z"\n }\'',
34643464
},
34653465
},
34663466
},
@@ -6142,7 +6142,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
61426142
},
61436143
http: {
61446144
example:
6145-
'curl https://api.lithic.com/v1/simulate/clearing \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: $LITHIC_API_KEY" \\\n -d \'{\n "token": "fabd829d-7f7b-4432-a8f2-07ea4889aaac"\n }\'',
6145+
'curl https://api.lithic.com/v1/simulate/clearing \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: $LITHIC_API_KEY" \\\n -d \'{\n "token": "fabd829d-7f7b-4432-a8f2-07ea4889aaac",\n "amount": 0\n }\'',
61466146
},
61476147
},
61486148
},
@@ -6296,7 +6296,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
62966296
},
62976297
http: {
62986298
example:
6299-
'curl https://api.lithic.com/v1/simulate/void \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: $LITHIC_API_KEY" \\\n -d \'{\n "token": "fabd829d-7f7b-4432-a8f2-07ea4889aaac",\n "type": "AUTHORIZATION_EXPIRY"\n }\'',
6299+
'curl https://api.lithic.com/v1/simulate/void \\\n -H \'Content-Type: application/json\' \\\n -H "Authorization: $LITHIC_API_KEY" \\\n -d \'{\n "token": "fabd829d-7f7b-4432-a8f2-07ea4889aaac",\n "amount": 100,\n "type": "AUTHORIZATION_EXPIRY"\n }\'',
63006300
},
63016301
},
63026302
},

0 commit comments

Comments
 (0)