# Save Wallet Save Wallet Endpoint: POST /rest/2.0/WALLET Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.PaymentGatewayId` (integer) PaymentGatewayId - `brmObjects.PaymentGatewayProfileid` (integer) PaymentGatewayProfileid - `brmObjects.State` (string) State - `brmObjects.Country` (string) Country - `brmObjects.CreditCardType` (string) CreditCardType - `brmObjects.BillingProfileId` (integer, required) BillingProfileId - `brmObjects.Status` (string, required) Status - `brmObjects.CreditCardNumber` (string) CreditCardNumber - `brmObjects.CreditCardToken` (string) CreditCardToken - `brmObjects.CreditCardName` (string) CreditCardName - `brmObjects.CreditCardExpDate` (string) CreditCardExpDate - `brmObjects.AchBankAcctNum` (string) AchBankAcctNum - `brmObjects.AchUniqueRef` (string) AchUniqueRef - `brmObjects.AchEcheckType` (string) AchEcheckType - `brmObjects.AchBankName` (string) AchBankName - `brmObjects.AchBankAcctType` (string) AchBankAcctType - `brmObjects.AchBankAcctName` (string) AchBankAcctName - `brmObjects.AchBankAbaCode` (string) AchBankAbaCode - `brmObjects.AchMandateStatusModifyDate` (string) AchMandateStatusModifyDate: Mandate Status Modify Date - `brmObjects.AchScheme` (string) AchScheme: Direct Debit Scheme - `brmObjects.AchBranchCode` (string) AchBranchCode: Branch Code - `brmObjects.AchMandateCountry` (string) AchMandateCountry - `brmObjects.AchMandateState` (string) AchMandateState - `brmObjects.AchMandateReference` (string) AchMandateReference - `brmObjects.NationalIdentityNumber` (string) NationalIdentityNumber - `brmObjects.Attention` (string) Attention - `brmObjects.Address1` (string) Address1 - `brmObjects.Address2` (string) Address2 - `brmObjects.City` (string) City - `brmObjects.Zip` (string) Zip - `brmObjects.HostedPaymentPageExternalId` (string) HostedPaymentPageExternalId - `brmObjects.DefaultFlag` (integer) DefaultFlag: Default Payment Method - `brmObjects.AchMandateDate` (string) AchMandateDate - `brmObjects.Email` (string) Email - `brmObjects.AchMandateStatus` (string) AchMandateStatus: Mandate Status - `brmObjects.Id` (string, required) Id: Primary key ## Response 200 fields (application/json): - `retrieveResponse` (object) - `retrieveResponse.PaymentGatewayId` (integer) PaymentGatewayId - `retrieveResponse.PaymentGatewayProfileid` (integer) PaymentGatewayProfileid - `retrieveResponse.State` (string) State - `retrieveResponse.Country` (string) Country - `retrieveResponse.CreditCardType` (string) CreditCardType - `retrieveResponse.BillingProfileId` (integer) BillingProfileId - `retrieveResponse.Status` (string) Status - `retrieveResponse.CreditCardNumber` (string) CreditCardNumber - `retrieveResponse.CreditCardToken` (string) CreditCardToken - `retrieveResponse.CreditCardName` (string) CreditCardName - `retrieveResponse.CreditCardExpDate` (string) CreditCardExpDate - `retrieveResponse.AchBankAcctNum` (string) AchBankAcctNum - `retrieveResponse.AchUniqueRef` (string) AchUniqueRef - `retrieveResponse.AchEcheckType` (string) AchEcheckType - `retrieveResponse.AchBankName` (string) AchBankName - `retrieveResponse.AchBankAcctType` (string) AchBankAcctType - `retrieveResponse.AchBankAcctName` (string) AchBankAcctName - `retrieveResponse.AchBankAbaCode` (string) AchBankAbaCode - `retrieveResponse.AchMandateStatusModifyDate` (string) AchMandateStatusModifyDate: Mandate Status Modify Date - `retrieveResponse.AchScheme` (string) AchScheme: Direct Debit Scheme - `retrieveResponse.AchBranchCode` (string) AchBranchCode: Branch Code - `retrieveResponse.AchMandateCountry` (string) AchMandateCountry - `retrieveResponse.AchMandateState` (string) AchMandateState - `retrieveResponse.AchMandateReference` (string) AchMandateReference - `retrieveResponse.NationalIdentityNumber` (string) NationalIdentityNumber - `retrieveResponse.Attention` (string) Attention - `retrieveResponse.Address1` (string) Address1 - `retrieveResponse.Address2` (string) Address2 - `retrieveResponse.City` (string) City - `retrieveResponse.Zip` (string) Zip - `retrieveResponse.HostedPaymentPageExternalId` (string) HostedPaymentPageExternalId - `retrieveResponse.DefaultFlag` (integer) DefaultFlag: Default Payment Method - `retrieveResponse.AchMandateDate` (string) AchMandateDate - `retrieveResponse.Email` (string) Email - `retrieveResponse.AchMandateStatus` (string) AchMandateStatus: Mandate Status - `retrieveResponse.Id` (string) Id: Primary key ## Response 400 fields (application/json): - `error` (string) Bad request - `message` (string) Bad request ## Response 401 fields (application/json): - `error` (string) Unauthorized - `message` (string) Unauthorized ## Response 404 fields (application/json): - `error` (string) Not found - `message` (string) Not found ## Response 429 fields (application/json): - `error` (string) Too many requests - `message` (string) Too many requests ## Response 500 fields (application/json): - `error` (string) Internal error - `message` (string) Internal error