Gateway API
  1. Contracts
Gateway API
  • Gateway
    • Payments
      • Payment Contract
        • Generate a Payment Contract
        • Get Payment Contract
        • Cancel a Payment Contract
      • Webhook receiver for payment events
    • Fund Transfers
      • Transfer Contracts
        • Generate a Transfer Contract
        • Update Transfer Contract
        • Issue the Transfer Contract
        • Get Transfer Contract
        • Pay a Transfer Contract
        • Cancel a Transfer Contract
        • Contract Event Webhook
    • Schemas
      • Response
  • Schemas
    • Schemas
      • Response
        • Accounts
          • ResetAPIKeysResponse
          • GetAccountResponse
          • GetAccountActivitiesResponse
        • Wallets
          • CreateWalletResponse
          • CreateDebitEntryResponse
        • Profiles
        • Gateway
          • Transfers
            • GetTransferContractResponse
          • Payments
            • GetPaymentContractResponse
        • SuccessResponse
        • ErrorResponse
      • Models
        • Activities
          • Activity Types
            • PaymentActivityModel
          • SubActivityModel
          • ActivityModel
        • Profiles
          • ProfileModel
          • PersonalProfileModel
          • VerifiedPersonalProfileModel
          • EconomicProfileModel
          • BusinessProfileModel
          • GeographicProfileModel
          • TransactionRecordsModel
          • BehavioralProfileModel
          • DocumentaryProfileModel
          • RiskProfileModel
          • NetworkProfileModel
          • IndustryProfileModel
        • Accounts
          • APIKeysModel
          • AccountModel
          • AccountProxyModel
        • Wallets
          • WalletModel
          • WalletKeysModel
          • LedgerEntryModel
          • TransactionPayloadModel
        • Command
          • Parameters
            • TransferAmountParameters
          • CommandModel
          • CommandContextModel
          • CommandSignerModel
        • Policies
          • Service Policies
            • Accounts Policy
              • Constraints
              • Roles
              • AccountsPolicyModel
          • Policy Templates
            • ServicePolicyModel
            • ServiceRoleModel
            • ServiceConstraintModel
        • Verifiers
          • VerifierModel
          • VerificationModel
        • JWTs
          • ContractToken
        • Resources
        • Gateway
          • Transfers
            • TransferContractModel
            • TransferChannelModel
            • TransferRecipientModel
          • Payments
            • PaymentContractModel
            • PaymentChannelModel
            • PaymentRecipientModel
          • Contracts
            • ContractConstraintModel
            • ContractPreviewModel
            • ContractPaymentModel
            • ContractRecipientModel
            • ChannelModel
            • ContractDeliverableModel
          • Events
            • WebhookEvent
          • Channels
            • ChannelFeesModel
            • ChannelPolicyModel
          • ContractModel
      • RequestBodies
        • Commands
          • ExecuteCommandPayload
        • Accounts
          • CreateAccountPayload
          • RegisterAccountDevicePayload
          • RegisterAccountRecoveryMethodPayload
          • AccountPersonalProfilePayload
          • AttachAccountProfilePayload
        • Wallets
          • CreateWalletPayload
          • CreateDebitEntryPayload
          • DeleteWalletPayload
        • Verifier
          • StartVerificationPayload
          • CompleteVerificationPayload
        • Policies
          • AttachPolicyPayload
        • Resources
          • RegisterResourcePayload
          • RegisterResourceVerifiersPayload
        • Profiles
          • RequestProfileAccessTokenPayload
        • Gateway
          • Transfers
            • GenerateTransferContractPayload
            • UpdateTransferContractPayload
          • Payments
            • GeneratePaymentContractPayload
            • CryptoPaymentPayload
            • MayaPaymentPayload
            • GCashPaymentPayload
            • WalletPaymentPayload
            • QRPHPaymentPayload
            • CardPaymentPayload
  1. Contracts

ContractPreviewModel

{
    "amount": 0,
    "valid": false,
    "fees": {
        "total": 0,
        "covered": true,
        "breakdown": {
            "pct": 0,
            "add": 0,
            "min": 0,
            "max": 0,
            "fixed": 0
        }
    },
    "messages": [
        {
            "code": "string",
            "type": "error",
            "message": "string"
        }
    ]
}
Built with