You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api.yaml
+82-2Lines changed: 82 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -30897,6 +30897,53 @@ paths:
30897
30897
application/json:
30898
30898
schema:
30899
30899
$ref: '#/components/schemas/V1ErrorResponse'
30900
+
/api/v1/external/sandbox/transaction/simulate:
30901
+
post:
30902
+
tags:
30903
+
- Fiat
30904
+
summary: Simulate a test deposit
30905
+
operationId: fiat-indexer.transaction.simulate
30906
+
x-internal: false
30907
+
description: Creates a simulated test deposit transaction for a wallet in non-production environments. Requires the calling user to be an owner or member of the wallet's enterprise. Blocked in production.
30908
+
parameters:
30909
+
- name: user-id
30910
+
in: header
30911
+
required: true
30912
+
description: The authenticated user's ID (set by auth-service).
example: Transaction sim-abc123 created successfully. Please allow a few moments for it to appear in the Go Account. Contact support if there is more than a 5 minute delay.
30929
+
'400':
30930
+
description: Bad Request – invalid or missing parameters
30931
+
content:
30932
+
application/json:
30933
+
schema:
30934
+
$ref: '#/components/schemas/V1ErrorResponse'
30935
+
'403':
30936
+
description: Forbidden – missing user-id header or user does not have access to the wallet's enterprise
30937
+
content:
30938
+
application/json:
30939
+
schema:
30940
+
$ref: '#/components/schemas/V1ErrorResponse'
30941
+
'500':
30942
+
description: Internal Server Error
30943
+
content:
30944
+
application/json:
30945
+
schema:
30946
+
$ref: '#/components/schemas/V1ErrorResponse'
30900
30947
/api/v2/bankaccounts:
30901
30948
get:
30902
30949
x-internal: false
@@ -31011,9 +31058,9 @@ paths:
31011
31058
- Bank Accounts
31012
31059
summary: Add bank account
31013
31060
description: |
31014
-
Add a bank account to a BitGo enterprise so you can deposit and withdraw fiat.
31061
+
Add a bank account to a BitGo enterprise so you can deposit and withdraw fiat. Required address parameters vary by country. Determine required parameters by calling [Get address format information](/reference/fiataddressinfo).
31015
31062
31016
-
>**NOTE:** Required address parameters vary by country. Determine required parameters by calling [Get address format information](https://developers.bitgo.com/reference/fiataddressinfo).
31063
+
>**CaaS clients:** If you are integrating as a Crypto as a Service (CaaS) client, follow the [Fund Go account integration guide](/docs/crypto-as-a-service-fund-go-accounts#steps) instead of using this endpoint directly.
31017
31064
operationId: v2.bankaccount.add
31018
31065
parameters: []
31019
31066
requestBody:
@@ -76482,6 +76529,39 @@ components:
76482
76529
- id
76483
76530
required:
76484
76531
- webhookNotifications
76532
+
SimulateTransactionRequest:
76533
+
title: SimulateTransactionRequest
76534
+
type: object
76535
+
description: Request body for creating a simulated test deposit transaction. Only testnet currencies are accepted. Non-production only.
76536
+
properties:
76537
+
walletId:
76538
+
type: string
76539
+
minLength: 1
76540
+
description: The Go Account wallet ID to create the deposit for.
76541
+
currency:
76542
+
type: string
76543
+
description: A testnet backing fiat currency (e.g., tfiatusd, tfiateur, tfiatsgd).
76544
+
amount:
76545
+
type: string
76546
+
description: The deposit amount in cents as a string. Defaults to "1000" (i.e., $10.00) if not provided.
76547
+
default: '1000'
76548
+
type:
76549
+
type: string
76550
+
description: The transaction type. Defaults to "wire". ACH transactions are created in an incomplete/delayed state with a 1-day clearing window.
76551
+
enum:
76552
+
- wire
76553
+
- ach
76554
+
default: wire
76555
+
instantCreditEligible:
76556
+
type: boolean
76557
+
description: Whether the transaction is eligible for instant credit. Only relevant for ACH transactions. When true and type is ach, the platform is notified immediately.
76558
+
withdrawHoldReleaseAt:
76559
+
type: string
76560
+
format: date-time
76561
+
description: Optional ISO 8601 datetime for when a withdraw hold should be released.
0 commit comments