braintree-web
Version:
A suite of tools for integrating Braintree in the browser
46 lines (42 loc) • 865 B
JavaScript
;
var EXPERIENCE_URL = {
sandbox:
"https://www.sandbox.paypal.com/openfinance/v1/bank/payment-method/create",
production:
"https://www.paypal.com/openfinance/v1/bank/payment-method/create",
};
var ACH_MANDATE_DETAILS_QUERY =
"query AchMandateDetails($id: ID!) { " +
"node(id: $id) { " +
"id " +
"... on PaymentMethod { " +
"id " +
"legacyId " +
"usage " +
"createdAt " +
"verifications { " +
"edges { " +
"node { " +
"status " +
"} " +
"} " +
"} " +
"details { " +
"__typename " +
"... on UsBankAccountDetails { " +
"accountholderName " +
"accountType " +
"ownershipType " +
"bankName " +
"last4 " +
"routingNumber " +
"verified " +
"} " +
"} " +
"} " +
"} " +
"}";
module.exports = {
EXPERIENCE_URL: EXPERIENCE_URL,
ACH_MANDATE_DETAILS_QUERY: ACH_MANDATE_DETAILS_QUERY,
};