Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

1.2 KB
Raw Blame
export const connectorDetails = {
  bank_transfer_pm: {
    Ach: {
      Request: {
        amount: 333,
        payment_method: "bank_transfer",
        payment_method_type: "ach",
        billing: {
          address: {
            zip: "560095",
            country: "US",
            first_name: "akshakaya N",
            last_name: "sss",
            line1: "Fasdf",
            line2: "Fasdf",
            city: "Fasdf",
          },
          email: "[email protected]",
        },
        payment_method_data: {
          bank_transfer: {
            ach_bank_transfer: {},
          },
        },
      },
      Response: {
        status: 200,
        body: {
          status: "requires_customer_action",
        },
      },
    },
    MissingEmail: {
      Request: {
        payment_method: "bank_transfer",
        payment_method_type: "ach",
        billing: {
          address: {
            first_name: "John",
            last_name: "Doe",
          },
        },
        currency: "USD",
      },
      Response: {
        status: 400,
        body: {
          error: {
            type: "invalid_request",
            message: "email is a required field",
            code: "IR_01",
          },
        },
      },
    },
  },
};