Skip to main content
The Fiat Transfers service manages fiat bank accounts, deposit instructions, and fiat withdrawals. Client accessor: client.FiatTransfers

Available Methods

MethodHTTP EquivalentDescription
ListFiatAccountsGET /transfer/fiat-accountsList fiat bank accounts
CreateFiatAccountPOST /transfer/fiat-accountsRegister a fiat bank account
GetFiatAccountGET /transfer/fiat-accounts/{id}Get a fiat account by ID
UpdateFiatAccountPATCH /transfer/fiat-accounts/{id}Update a fiat account
DeleteFiatAccountDELETE /transfer/fiat-accounts/{id}Delete a fiat account
ListFiatDepositInstructionsGET /transfer/fiat-deposit-instructionsList fiat deposit instructions
CreateFiatDepositInstructionsPOST /transfer/fiat-deposit-instructionsCreate deposit instructions
GetFiatDepositInstructionsGET /transfer/fiat-deposit-instructions/{id}Get deposit instructions by ID
CreateFiatWithdrawalPOST /transfer/fiat-withdrawalsInitiate a fiat withdrawal

CreateFiatWithdrawal

withdrawal, err := client.FiatTransfers.CreateFiatWithdrawal(ctx, &paxos.CreateFiatWithdrawalRequest{
    ProfileID:     "profile_123",
    FiatAccountID: "fiat_acct_456",
    Amount:        "1000.00",
    Asset:         "USD",
})
if err != nil {
    log.Fatal(err)
}
fmt.Printf("Withdrawal %s: %s\n", withdrawal.ID, withdrawal.Status)
For the full REST API documentation, see the Fiat Transfers API Reference.