@rebilly/instruments 15.9.0 → 15.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -2
- package/dist/index.js +4 -4
- package/dist/index.min.js +1 -1
- package/package.json +1 -1
package/dist/index.min.js
CHANGED
|
@@ -23,7 +23,7 @@ var RebillyInstruments=function(){"use strict";
|
|
|
23
23
|
*
|
|
24
24
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
25
25
|
* Released under the MIT License.
|
|
26
|
-
*/function va(e){return!0===ba(e)&&"[object Object]"===Object.prototype.toString.call(e)}const wa=function(e,t){switch(ga(e)){case"array":return e.slice();case"object":return Object.assign({},e);case"date":return new e.constructor(Number(e));case"map":return new Map(e);case"set":return new Set(e);case"buffer":return function(e){const t=e.length,n=Buffer.allocUnsafe?Buffer.allocUnsafe(t):Buffer.from(t);return e.copy(n),n}(e);case"symbol":return function(e){return ha?Object(ha.call(e)):{}}(e);case"arraybuffer":return function(e){const t=new e.constructor(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}(e);case"float32array":case"float64array":case"int16array":case"int32array":case"int8array":case"uint16array":case"uint32array":case"uint8clampedarray":case"uint8array":return function(e){return new e.constructor(e.buffer,e.byteOffset,e.length)}(e);case"regexp":return function(e){const t=void 0!==e.flags?e.flags:/\w+$/.exec(e)||void 0,n=new e.constructor(e.source,t);return n.lastIndex=e.lastIndex,n}(e);case"error":return Object.create(e);default:return e}},xa=fa,Sa=function(e){var t,n;return!(!1===va(e)||(t=e.constructor,"function"!=typeof t)||(n=t.prototype,!1===va(n))||!1===n.hasOwnProperty("isPrototypeOf"))};function Pa(e,t){switch(xa(e)){case"object":return function(e,t){if("function"==typeof t)return t(e);if(t||Sa(e)){const n=new e.constructor;for(let r in e)n[r]=Pa(e[r],t);return n}return e}(e,t);case"array":return function(e,t){const n=new e.constructor(e.length);for(let r=0;r<e.length;r++)n[r]=Pa(e[r],t);return n}(e,t);default:return wa(e)}}const Ca=pa(Pa);let Ba=class{constructor({id:e=null,created:t=null}={}){this.id=e||((e=21)=>{let t="",n=0|e;for(;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t})(),this.created=t||(new Date).getTime(),this.cancelSource=$r.CancelToken.source(),this.cancel=this.cancelSource.cancel,this.cancelToken=this.cancelSource.token,Yr(this,{exclude:["cancelSource","cancelToken","cancel"]})}};class Aa{constructor(){if(Aa.instance)return Aa.instance;this.requests={},Aa.instance=this}getAll(){return Object.values(this.requests)}getById(e){return this.requests[e]}deleteById(e){this.requests[e]&&delete this.requests[e]}save(){const e=new Ba;return this.requests[e.id]=e,{id:e.id,cancelToken:e.cancelToken}}}const La=new Aa;class Ea{}Jr(Ea,"cancelById",(e,t)=>{try{La.getById(e).cancel(t),La.deleteById(e)}catch{}}),Jr(Ea,"cancelAll",async e=>{for(const t of La.getAll())await t.cancel(e),La.deleteById(t.id)});const Ia=async(...e)=>await Ea.cancelAll(...e),Ta={request:"request",response:"response"},Ma=e=>{if(!Object.values(Ta).includes(e))throw new Error(`There is no such interceptor type as "${e}"`);return!0};function $a({options:e}){const t=$r.create({baseURL:n(),timeout:e.requestTimeout,headers:r()});function n(){let t=e.isSandbox?e.apiEndpoints.sandbox:e.apiEndpoints.live;return e.apiVersion&&(t=`${t}/${e.apiVersion}`),e.organizationId&&(t=`${t}/organizations/${e.organizationId}`),`${t}`}function r(){const t={"REB-API-CONSUMER":`${["Rebilly",e.appName,"js-sdk"].filter(e=>e).join("/")}@9a4a27a`};return e.apiKey&&(t["REB-APIKEY"]=e.apiKey),t}function a(){return Ca(t.defaults.headers)}function s(e,{thenDelegate:n,catchDelegate:r=()=>{}}){return Ma(e)&&t.interceptors[Ta[e]].use(n,r)}function o(e,n){return Ma(e)&&t.interceptors[Ta[e]].eject(n)}function i({request:e,isCollection:t,config:n}){const r=c(n),{id:a,cancelToken:s}=La.save();r.cancelToken=s;const o=async function(){try{return function({response:e,isCollection:t,config:n}){return t?new ta(e,n):new Qr(e,n)}({response:await e(r),isCollection:t,config:r})}catch(n){return l({error:n})}finally{La.deleteById(a)}}();return o.cancel=e=>Ea.cancelById(a,e),o}function l({error:e}){if($r.isCancel(e))throw new da(e);if(e.response)switch(Number(e.response.status)){case 401:throw new la(e);case 404:throw new oa(e);case 405:throw new ua(e);case 409:throw new ia(e);case 422:throw new sa(e);default:throw new aa(e)}throw"ECONNABORTED"===e.code?new ca(e):new aa(e)}function u(e){return void 0!==e.params&&(e.params=Object.keys(e.params).filter(t=>null!==e.params[t]&&""!==e.params[t]).reduce((t,n)=>(t[n]=e.params[n],t),{})),e}function c(e={}){return{...u(e)}}function d(e,n={}){return i({request:n=>t.get(e,n),config:{params:n}})}function p(e,n,r={}){let s={};return!1===r.authenticate&&(s={headers:a()},delete s.headers.common["REB-APIKEY"],delete s.headers.common.Authorization),r.params&&(s.params={...r.params}),i({request:r=>t.post(e,n,r),config:s})}function m(e,n,r={}){return i({request:r=>t.put(e,n,r),config:{params:r}})}return{getInstance:function(){return t},addRequestInterceptor:function({thenDelegate:e,catchDelegate:t=()=>{}}){return s(Ta.request,{thenDelegate:e,catchDelegate:t})},removeRequestInterceptor:function(e){o(Ta.request,e)},addResponseInterceptor:function({thenDelegate:e,catchDelegate:t=()=>{}}){return s(Ta.response,{thenDelegate:e,catchDelegate:t})},removeResponseInterceptor:function(e){o(Ta.response,e)},setTimeout:function(n){e.requestTimeout=Number(n),t.defaults.timeout=e.requestTimeout},setProxyAgent:function({host:e,port:n,auth:r}){t.defaults.proxy={host:e,port:n,auth:r}},setSessionToken:function(n=e.jwt){const r=a();e.apiKey=null,e.jwt=n,delete r.common["REB-APIKEY"],r.common.Authorization=`Bearer ${n}`,t.defaults.headers=r},setPublishableKey:function(n=e.publishableKey){const r=a();e.publishableKey=n,r.common.Authorization=`${n}`,t.defaults.headers=r},setEndpoints:function({live:r=null,sandbox:a=null}){r&&(e.apiEndpoints.live=r),a&&(e.apiEndpoints.sandbox=a),t.defaults.baseURL=n()},get:d,getAll:function(e,n){return i({request:n=>t.get(e,n),config:{params:n},isCollection:!0})},post:p,put:m,patch:function(e,n){return i({request:r=>t.patch(e,n,r),config:{}})},delete:function(e){return i({request:n=>t.delete(e,n),config:{}})},deleteAll:function(e,n){return i({request:n=>t.delete(e,n),config:{data:{...n}}})},create:async function(e,t,n,r={}){if(""===t)return p(e,n,{params:r});try{if(200===(await d(e)).response.status)throw new ia({message:"A resource already exists with this ID. Please use a different ID."})}catch(a){if("RebillyNotFoundError"===a.name)return m(e,n,r);throw a}},download:async function(e,n){const r=c(n);try{const n=await t.get(e,r);return new na(n,r)}catch(a){return l({error:a})}}}}const Ra={Accept:"application/pdf"};class Fa{constructor({apiHandler:e}){this.account=function({apiHandler:e}){return{forgotPassword:({data:t})=>e.post("forgot-password",t,{authenticate:!1})}}({apiHandler:e}),this.allowlists=function({apiHandler:e}){return{getAllowlistCollection({filter:t=null,sort:n=null,limit:r=null,offset:a=null}={}){const s={filter:t,sort:n,limit:r,offset:a};return e.getAll("allowlists",s)},storeAllowlist:({data:t})=>e.post("allowlists",t),getAllowlist:({id:t})=>e.get(`allowlists/${t}`),delete:({id:t})=>e.delete(`allowlists/${t}`)}}({apiHandler:e}),this.amlChecks=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null}={}){const o={limit:t,offset:n,sort:r,filter:a,q:s};return e.getAll("aml-checks",o)},get:({id:t})=>e.get(`aml-checks/${t}`),startReview:({id:t})=>e.post(`aml-checks/${t}/start-review`),stopReview:({id:t})=>e.post(`aml-checks/${t}/stop-review`),review:({id:t,data:n})=>e.post(`aml-checks/${t}/review`,n)}}({apiHandler:e}),this.amlSettings=function({apiHandler:e}){return{getAmlSettings:()=>e.get("aml-settings"),putAmlSettings:({data:t})=>e.put("aml-settings",t)}}({apiHandler:e}),this.apiKeys=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,sort:r=null}={}){const a={limit:t,offset:n,sort:r};return e.getAll("api-keys",a)},create:({id:t="",data:n})=>e.create(`api-keys/${t}`,t,n),get:({id:t})=>e.get(`api-keys/${t}`),update:({id:t,data:n})=>e.put(`api-keys/${t}`,n),delete:({id:t})=>e.delete(`api-keys/${t}`)}}({apiHandler:e}),this.applicationInstances=function({apiHandler:e}){return{get:({applicationId:t})=>e.get(`application-instances/${t}`),upsert:({applicationId:t,data:n})=>e.put(`application-instances/${t}`,n),delete:({applicationId:t})=>e.delete(`application-instances/${t}`),getConfiguration:({applicationId:t})=>e.get(`application-instances/${t}/configuration`),upsertConfiguration:({applicationId:t,data:n})=>e.put(`application-instances/${t}/configuration`,n)}}({apiHandler:e}),this.applications=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,q:a=null,expand:s=null,fields:o=null,sort:i=null}={}){const l={limit:t,offset:n,filter:r,q:a,expand:s,fields:o,sort:i};return e.getAll("applications",l)},create:({data:t})=>e.post("applications",t),get:({id:t})=>e.get(`applications/${t}`),getInstances({id:t,limit:n=null,offset:r=null}){const a={limit:n,offset:r};return e.getAll(`applications/${t}/instances`,a)},getInstance:({id:t,organizationId:n})=>e.get(`applications/${t}/instances/${n}`)}}({apiHandler:e}),this.balanceTransactions=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null}={}){const s={limit:t,offset:n,filter:r,sort:a};return e.getAll("balance-transactions",s)},get:({id:t})=>e.get(`balance-transactions/${t}`)}}({apiHandler:e}),this.billingPortals=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null}={}){const o={limit:t,offset:n,sort:r,filter:a,q:s};return e.getAll("billing-portals",o)},create:({id:t="",data:n})=>e.create(`billing-portals/${t}`,t,n),get:({id:t})=>e.get(`billing-portals/${t}`),update:({id:t,data:n})=>e.put(`billing-portals/${t}`,n),delete:({id:t})=>e.delete(`billing-portals/${t}`)}}({apiHandler:e}),this.blocklists=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null}={}){const o={limit:t,offset:n,sort:r,filter:a,q:s};return e.getAll("blocklists",o)},create:({id:t="",data:n})=>e.create(`blocklists/${t}`,t,n),get:({id:t})=>e.get(`blocklists/${t}`),delete:({id:t})=>e.delete(`blocklists/${t}`)}}({apiHandler:e}),this.broadcastMessages=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,sort:r=null,filter:a=null}={}){const s={limit:t,offset:n,sort:r,filter:a};return e.getAll("broadcast-messages",s)},create:({data:t})=>e.post("broadcast-messages",t),get:({id:t})=>e.get(`broadcast-messages/${t}`),delete:({id:t})=>e.delete(`broadcast-messages/${t}`),update:({id:t,data:n})=>e.patch(`broadcast-messages/${t}`,n)}}({apiHandler:e}),this.cashiers=function({apiHandler:e}){return{create:({data:t})=>e.post("cashiers",t),get:({id:t})=>e.get(`cashiers/${t}`)}}({apiHandler:e}),this.checkoutForms=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null}={}){const o={limit:t,offset:n,sort:r,filter:a,q:s};return e.getAll("checkout-forms",o)},create:({id:t="",data:n})=>e.create(`checkout-forms/${t}`,t,n),get:({id:t})=>e.get(`checkout-forms/${t}`),update:({id:t,data:n})=>e.put(`checkout-forms/${t}`,n),delete:({id:t})=>e.delete(`checkout-forms/${t}`)}}({apiHandler:e}),this.coupons=function({apiHandler:e}){return{getAllRedemptions({limit:t=null,offset:n=null,filter:r=null,q:a=null,sort:s=null}={}){const o={limit:t,offset:n,filter:r,q:a,sort:s};return e.getAll("coupons-redemptions",o)},redeem:({data:t})=>e.post("coupons-redemptions",t),getRedemption:({id:t})=>e.get(`coupons-redemptions/${t}`),cancelRedemption:({id:t})=>e.post(`coupons-redemptions/${t}/cancel`),getAll({limit:t=null,offset:n=null,filter:r=null,q:a=null,sort:s=null}={}){const o={limit:t,offset:n,filter:r,q:a,sort:s};return e.getAll("coupons",o)},create:({id:t="",data:n})=>e.create(`coupons/${t}`,t,n),get:({id:t})=>e.get(`coupons/${t}`),update:({id:t,data:n})=>e.put(`coupons/${t}`,n),setExpiration:({id:t,data:n})=>e.post(`coupons/${t}/expiration`,n)}}({apiHandler:e}),this.creditMemos=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null,expand:o=null}={}){const i={filter:t,sort:n,limit:r,offset:a,q:s,expand:o};return e.getAll("credit-memos",i)},create:({id:t="",data:n})=>e.create(`credit-memos/${t}`,t,n),get:({id:t})=>e.get(`credit-memos/${t}`),update:({id:t,data:n})=>e.put(`credit-memos/${t}`,n),patch:({id:t,data:n})=>e.patch(`credit-memos/${t}`,n),void:({id:t})=>e.post(`credit-memos/${t}/void`),getAllTimelineMessages({id:t,limit:n=null,offset:r=null,filter:a=null,sort:s=null,q:o=null}){const i={limit:n,offset:r,filter:a,sort:s,q:o};return e.getAll(`credit-memos/${t}/timeline`,i)},createTimelineComment:({id:t,data:n})=>e.post(`credit-memos/${t}/timeline`,n),getTimelineMessage:({id:t,messageId:n})=>e.get(`credit-memos/${t}/timeline/${n}`),deleteTimelineMessage:({id:t,messageId:n})=>e.delete(`credit-memos/${t}/timeline/${n}`)}}({apiHandler:e}),this.customDomains=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null}={}){const o={limit:t,offset:n,sort:r,filter:a,q:s};return e.getAll("custom-domains",o)},create:({data:t})=>e.post("custom-domains",t),get:({domain:t})=>e.get(`custom-domains/${t}`),delete:({domain:t})=>e.delete(`custom-domains/${t}`)}}({apiHandler:e}),this.customFields=function({apiHandler:e}){return{getAll({resource:t,limit:n=null,offset:r=null}){const a={limit:n,offset:r};return e.getAll(`custom-fields/${t}`,a)},get:({resource:t,name:n})=>e.get(`custom-fields/${t}/${n}`),create:({resource:t,name:n,data:r})=>e.put(`custom-fields/${t}/${n}`,r),update:({resource:t,name:n,data:r})=>e.put(`custom-fields/${t}/${n}`,r)}}({apiHandler:e}),this.customerAuthentication=function({apiHandler:e}){return{getAuthOptions:()=>e.get("authentication-options"),updateAuthOptions:({data:t})=>e.put("authentication-options",t),getAllAuthTokens({limit:t=null,offset:n=null}={}){const r={limit:t,offset:n};return e.getAll("authentication-tokens",r)},login:({data:t})=>e.post("authentication-tokens",t),verify:({token:t})=>e.get(`authentication-tokens/${t}`),logout:({token:t})=>e.delete(`authentication-tokens/${t}`),exchangeToken:({token:t,data:n})=>e.post(`authentication-tokens/${t}/exchange`,n),getAllCredentials({limit:t=null,offset:n=null}={}){const r={limit:t,offset:n};return e.getAll("credentials",r)},createCredential:({id:t="",data:n})=>e.create(`credentials/${t}`,t,n),getCredential:({id:t})=>e.get(`credentials/${t}`),updateCredential:({id:t,data:n})=>e.put(`credentials/${t}`,n),deleteCredential:({id:t})=>e.delete(`credentials/${t}`),getAllResetPasswordTokens({limit:t=null,offset:n=null}={}){const r={limit:t,offset:n};return e.getAll("password-tokens",r)},createResetPasswordToken:({data:t})=>e.post("password-tokens",t),getResetPasswordToken:({id:t})=>e.get(`password-tokens/${t}`),deleteResetPasswordToken:({id:t})=>e.delete(`password-tokens/${t}`)}}({apiHandler:e}),this.customers=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,q:a=null,expand:s=null,fields:o=null,sort:i=null}={}){const l={limit:t,offset:n,filter:r,q:a,expand:s,fields:o,sort:i};return e.getAll("customers",l)},create({id:t="",data:n,expand:r=null}){const a={expand:r};return e.create(`customers/${t}`,t,n,a)},get({id:t,expand:n=null,fields:r=null}){const a={expand:n,fields:r};return e.get(`customers/${t}`,a)},update({id:t,data:n,expand:r=null}){const a={expand:r};return e.put(`customers/${t}`,n,a)},merge:({id:t,targetCustomerId:n})=>e.delete(`customers/${t}?targetCustomerId=${n}`),getLeadSource:({id:t})=>e.get(`customers/${t}/lead-source`),createLeadSource:({id:t,data:n})=>e.put(`customers/${t}/lead-source`,n),updateLeadSource:({id:t,data:n})=>e.put(`customers/${t}/lead-source`,n),deleteLeadSource:({id:t})=>e.delete(`customers/${t}/lead-source`),getAllTimelineMessages({id:t,limit:n=null,offset:r=null,filter:a=null,sort:s=null,q:o=null}){const i={limit:n,offset:r,filter:a,sort:s,q:o};return e.getAll(`customers/${t}/timeline`,i)},createTimelineComment:({id:t,data:n})=>e.post(`customers/${t}/timeline`,n),getTimelineMessage:({id:t,messageId:n})=>e.get(`customers/${t}/timeline/${n}`),deleteTimelineMessage:({id:t,messageId:n})=>e.delete(`customers/${t}/timeline/${n}`),getCustomerEddScore:({id:t})=>e.get(`customers/${t}/edd-score`),getEddTimelineCollection({id:t,limit:n=null,offset:r=null,filter:a=null,sort:s=null,q:o=null}){const i={limit:n,offset:r,filter:a,sort:s,q:o};return e.getAll(`customers/${t}/edd-timeline`,i)},getEddTimelineMessage:({id:t,messageId:n})=>e.get(`customers/${t}/edd-timeline/${n}`),getAllEddSearchResults({id:t,limit:n=null,offset:r=null}){const a={limit:n,offset:r};return e.getAll(`customers/${t}/edd-search-results`,a)},getEddSearchResult:({id:t,searchResultId:n})=>e.get(`customers/${t}/edd-search-results/${n}`)}}({apiHandler:e}),this.depositCustomPropertySets=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null}={}){const s={limit:t,offset:n,filter:r,sort:a};return e.getAll("deposit-custom-property-sets",s)},create:({id:t="",data:n})=>e.create(`deposit-custom-property-sets/${t}`,t,n),get:({id:t})=>e.get(`deposit-custom-property-sets/${t}`),update:({id:t,data:n})=>e.put(`deposit-custom-property-sets/${t}`,n),delete:({id:t})=>e.delete(`deposit-custom-property-sets/${t}`)}}({apiHandler:e}),this.depositRequests=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null,expand:s=null}={}){const o={limit:t,offset:n,filter:r,sort:a,expand:s};return e.getAll("deposit-requests",o)},create:({data:t})=>e.post("deposit-requests",t),get({id:t,expand:n=null}){const r={expand:n};return e.get(`deposit-requests/${t}`,r)}}}({apiHandler:e}),this.depositStrategies=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null}={}){const s={limit:t,offset:n,filter:r,sort:a};return e.getAll("deposit-strategies",s)},create:({id:t="",data:n})=>e.create(`deposit-strategies/${t}`,t,n),get:({id:t})=>e.get(`deposit-strategies/${t}`),update:({id:t,data:n})=>e.put(`deposit-strategies/${t}`,n),delete:({id:t})=>e.delete(`deposit-strategies/${t}`)}}({apiHandler:e}),this.digitalWallets=function({apiHandler:e}){return{validate:({data:t})=>e.post("digital-wallets/validation",t),create:({data:t})=>e.post("digital-wallets/onboarding/apple-pay",t)}}({apiHandler:e}),this.disputes=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null,expand:o=null}={}){const i={filter:t,sort:n,limit:r,offset:a,q:s,expand:o};return e.getAll("disputes",i)},create({id:t="",data:n,expand:r=null}){const a={expand:r};return e.create(`disputes/${t}`,t,n,a)},get:({id:t})=>e.get(`disputes/${t}`),update({id:t,data:n,expand:r=null}){const a={expand:r};return e.put(`disputes/${t}`,n,a)}}}({apiHandler:e}),this.emailDeliverySettings=function({apiHandler:e}){return{verify:({token:t})=>e.put(`email-delivery-setting-verifications/${t}`),getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null,q:s=null}={}){const o={limit:t,offset:n,filter:r,sort:a,q:s};return e.getAll("email-delivery-settings",o)},create:({data:t})=>e.post("email-delivery-settings",t),get:({id:t})=>e.get(`email-delivery-settings/${t}`),delete:({id:t})=>e.delete(`email-delivery-settings/${t}`),update:({id:t,data:n})=>e.patch(`email-delivery-settings/${t}`,n),resendVerification:({id:t})=>e.post(`email-delivery-settings/${t}/resend-email-verification`)}}({apiHandler:e}),this.emailMessages=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,q:r=null,sort:a=null,filter:s=null}={}){const o={limit:t,offset:n,q:r,sort:a,filter:s};return e.getAll("email-messages",o)},create:({data:t})=>e.post("email-messages",t),get:({id:t})=>e.get(`email-messages/${t}`),delete:({id:t})=>e.delete(`email-messages/${t}`),send:({id:t,data:n={status:"outbox"}})=>e.patch(`email-messages/${t}`,n)}}({apiHandler:e}),this.emailNotifications=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null}={}){const r={limit:t,offset:n};return e.getAll("email-notifications",r)}}}({apiHandler:e}),this.events=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,q:a=null}={}){const s={limit:t,offset:n,filter:r,q:a};return e.getAll("events",s)},get:({eventType:t})=>e.get(`events/${t}`),getRules:({eventType:t})=>e.get(`events/${t}/rules`),createRules:({eventType:t,data:n})=>e.put(`events/${t}/rules`,n),updateRules:({eventType:t,data:n})=>e.put(`events/${t}/rules`,n),getAllTimelineMessages({eventType:t,limit:n=null,offset:r=null,filter:a=null,sort:s=null,q:o=null}){const i={limit:n,offset:r,filter:a,sort:s,q:o};return e.getAll(`events/${t}/timeline`,i)},createTimelineComment:({eventType:t,data:n})=>e.post(`events/${t}/timeline`,n),getTimelineMessage:({eventType:t,messageId:n})=>e.get(`events/${t}/timeline/${n}`),deleteTimelineMessage:({eventType:t,messageId:n})=>e.delete(`events/${t}/timeline/${n}`),getRulesHistory({eventType:t,limit:n=null,offset:r=null,filter:a=null,q:s=null,sort:o=null,fields:i=null}){const l={limit:n,offset:r,filter:a,q:s,sort:o,fields:i};return e.getAll(`events/${t}/rules/history`,l)},getRulesVersionNumber({eventType:t,version:n,fields:r=null}){const a={fields:r};return e.get(`events/${t}/rules/history/${n}`,a)},getRulesVersionDetail({eventType:t,version:n,fields:r=null}){const a={fields:r};return e.get(`events/${t}/rules/versions/${n}`,a)},getAllDraftRulesets({eventType:t,limit:n=null,offset:r=null,filter:a=null,q:s=null,sort:o=null,fields:i=null}){const l={limit:n,offset:r,filter:a,q:s,sort:o,fields:i};return e.getAll(`events/${t}/rules/drafts`,l)},createDraftRuleset:({eventType:t,data:n})=>e.post(`events/${t}/rules/drafts`,n),getDraftRuleset({eventType:t,id:n,fields:r=null}){const a={fields:r};return e.get(`events/${t}/rules/drafts/${n}`,a)},updateDraftRuleset:({eventType:t,id:n,data:r})=>e.put(`events/${t}/rules/drafts/${n}`,r),deleteDraftRuleset:({eventType:t,id:n})=>e.delete(`events/${t}/rules/drafts/${n}`)}}({apiHandler:e}),this.externalIdentifiers=function({apiHandler:e}){return{get:({resource:t,resourceId:n,service:r})=>e.get(`${t}/${n}/external-identifiers/${r}`),sync:({resource:t,resourceId:n,service:r})=>e.post(`${t}/${n}/external-identifiers/${r}`),update:({resource:t,resourceId:n,service:r,data:a})=>e.put(`${t}/${n}/external-identifiers/${r}`,a),delete:({resource:t,resourceId:n,service:r})=>e.delete(`${t}/${n}/external-identifiers/${r}`)}}({apiHandler:e}),this.externalServicesSettings=function({apiHandler:e}){return{getExternalServiceSettings:()=>e.get("external-services-settings"),updateExternalServiceSettings:({data:t})=>e.put("external-services-settings",t)}}({apiHandler:e}),this.fees=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null}={}){const s={limit:t,offset:n,filter:r,sort:a};return e.getAll("fees",s)},create:({id:t="",data:n})=>e.create(`fees/${t}`,t,n),get:({id:t})=>e.get(`fees/${t}`),upsert:({id:t,data:n})=>e.put(`fees/${t}`,n),delete:({id:t})=>e.delete(`fees/${t}`),patch:({id:t,data:n})=>e.patch(`fees/${t}`,n)}}({apiHandler:e}),this.files=function({apiHandler:e}){return{getAllAttachments({limit:t=null,offset:n=null,filter:r=null,q:a=null,expand:s=null,fields:o=null,sort:i=null}={}){const l={limit:t,offset:n,filter:r,q:a,expand:s,fields:o,sort:i};return e.getAll("attachments",l)},attach({id:t="",data:n,expand:r=null}){const a={expand:r};return e.create(`attachments/${t}`,t,n,a)},getAttachment:({id:t})=>e.get(`attachments/${t}`),updateAttachment({id:t,data:n,expand:r=null}){const a={expand:r};return e.put(`attachments/${t}`,n,a)},detach:({id:t})=>e.delete(`attachments/${t}`),getAll({limit:t=null,offset:n=null,filter:r=null,q:a=null,fields:s=null,sort:o=null}={}){const i={limit:t,offset:n,filter:r,q:a,fields:s,sort:o};return e.getAll("files",i)},upload:({fileObject:t})=>e.post("files",t),get:({id:t})=>e.get(`files/${t}`),update:({id:t,data:n})=>e.put(`files/${t}`,n),delete:({id:t})=>e.delete(`files/${t}`),download:({id:t})=>e.download(`files/${t}/download`,{responseType:"arraybuffer"}),detachAndDelete({id:t}){const n={filter:`fileId:${t}`};let r=[];const a=(async()=>{const a=this.getAllAttachments(n);r.push(a);const s=(await a).items.map(e=>this.detach({id:e.fields.id}));r=[...r,s],await Promise.all(s);const o=e.delete(`files/${t}`);return r.push(o),o})();return a.cancel=()=>{r.forEach(e=>e.cancel())},a},uploadAndUpdate({fileObject:e,data:t={description:"",tags:[""]}}){const n=[],r=(async()=>{const r=this.upload({fileObject:e});n.push(r),await r;const a={name:r.name,extension:r.extension,description:t.description,tags:t.tags,url:""},s=this.update({id:r.fields.id,data:a});return n.push(s),s})();return r.cancel=()=>{n.forEach(e=>e.cancel())},r}}}({apiHandler:e}),this.gatewayAccounts=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null,fields:o=null}={}){const i={limit:t,offset:n,sort:r,filter:a,q:s,fields:o};return e.getAll("gateway-accounts",i)},create:({id:t="",data:n})=>e.create(`gateway-accounts/${t}`,t,n),get:({id:t})=>e.get(`gateway-accounts/${t}`),upsert:({id:t,data:n})=>e.put(`gateway-accounts/${t}`,n),delete:({id:t})=>e.delete(`gateway-accounts/${t}`),update:({id:t,data:n})=>e.patch(`gateway-accounts/${t}`,n),close:({id:t})=>e.post(`gateway-accounts/${t}/close`),disable:({id:t})=>e.post(`gateway-accounts/${t}/disable`),getAllDowntimeSchedules({id:t,limit:n=null,offset:r=null,filter:a=null,sort:s=null}){const o={limit:n,offset:r,filter:a,sort:s};return e.getAll(`gateway-accounts/${t}/downtime-schedules`,o)},createDowntimeSchedule:({id:t,data:n})=>e.post(`gateway-accounts/${t}/downtime-schedules`,n),getDowntimeSchedule:({id:t,downtimeId:n})=>e.get(`gateway-accounts/${t}/downtime-schedules/${n}`),updateDowntimeSchedule:({id:t,downtimeId:n,data:r})=>e.put(`gateway-accounts/${t}/downtime-schedules/${n}`,r),deleteDowntimeSchedule:({id:t,downtimeId:n})=>e.delete(`gateway-accounts/${t}/downtime-schedules/${n}`),enable:({id:t})=>e.post(`gateway-accounts/${t}/enable`),getAllVolumeLimits:({id:t})=>e.getAll(`gateway-accounts/${t}/limits`),getVolumeLimit:({id:t,limitId:n})=>e.get(`gateway-accounts/${t}/limits/${n}`),updateVolumeLimit:({id:t,limitId:n,data:r})=>e.put(`gateway-accounts/${t}/limits/${n}`,r),deleteVolumeLimit:({id:t,limitId:n})=>e.delete(`gateway-accounts/${t}/limits/${n}`),getAllTimelineMessages({id:t,limit:n=null,offset:r=null,filter:a=null,sort:s=null,q:o=null}){const i={limit:n,offset:r,filter:a,sort:s,q:o};return e.getAll(`gateway-accounts/${t}/timeline`,i)},createTimelineComment:({id:t,data:n})=>e.post(`gateway-accounts/${t}/timeline`,n),getTimelineMessage:({id:t,messageId:n})=>e.get(`gateway-accounts/${t}/timeline/${n}`),deleteTimelineMessage:({id:t,messageId:n})=>e.delete(`gateway-accounts/${t}/timeline/${n}`),checkCredentials:({id:t})=>e.post(`gateway-accounts/${t}/check-credentials`),getFinancialSettings:({id:t})=>e.get(`gateway-accounts/${t}/financial-settings`),setFinancialSettings:({id:t,data:n})=>e.put(`gateway-accounts/${t}/financial-settings`,n)}}({apiHandler:e}),this.integrations=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null}={}){const r={limit:t,offset:n};return e.getAll("integrations",r)},get:({label:t})=>e.get(`integrations/${t}`)}}({apiHandler:e}),this.invoices=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null,expand:o=null}={}){const i={filter:t,sort:n,limit:r,offset:a,q:s,expand:o};return e.getAll("invoices",i)},create:({id:t="",data:n})=>e.create(`invoices/${t}`,t,n),get({id:t,expand:n=null}){const r={expand:n};return e.get(`invoices/${t}`,r)},update:({id:t,data:n})=>e.put(`invoices/${t}`,n),getAllInvoiceItems({id:t,limit:n=null,offset:r=null,expand:a=null}){const s={limit:n,offset:r,expand:a};return e.getAll(`invoices/${t}/items`,s)},createInvoiceItem:({id:t,data:n})=>e.post(`invoices/${t}/items`,n),getInvoiceItem:({id:t,itemId:n})=>e.get(`invoices/${t}/items/${n}`),updateInvoiceItem:({id:t,itemId:n,data:r})=>e.put(`invoices/${t}/items/${n}`,r),deleteInvoiceItem:({id:t,itemId:n})=>e.delete(`invoices/${t}/items/${n}`),issue:({id:t,data:n})=>e.post(`invoices/${t}/issue`,n),abandon:({id:t})=>e.post(`invoices/${t}/abandon`),void:({id:t})=>e.post(`invoices/${t}/void`),recalculate:({id:t})=>e.post(`invoices/${t}/recalculate`),reissue:({id:t,data:n})=>e.post(`invoices/${t}/reissue`,n),getAllTransactionAllocations({id:t,limit:n=null,offset:r=null}){const a={limit:n,offset:r};return e.getAll(`invoices/${t}/transaction-allocations`,a)},applyTransaction:({id:t,data:n})=>e.post(`invoices/${t}/transaction`,n),getAllTimelineMessages({id:t,limit:n=null,offset:r=null,filter:a=null,sort:s=null,q:o=null}){const i={limit:n,offset:r,filter:a,sort:s,q:o};return e.getAll(`invoices/${t}/timeline`,i)},createTimelineComment:({id:t,data:n})=>e.post(`invoices/${t}/timeline`,n),getTimelineMessage:({id:t,messageId:n})=>e.get(`invoices/${t}/timeline/${n}`),deleteTimelineMessage:({id:t,messageId:n})=>e.delete(`invoices/${t}/timeline/${n}`),downloadPDF({id:t}){const n={headers:Ra,responseType:"arraybuffer"};return e.download(`invoices/${t}`,n)}}}({apiHandler:e}),this.journalAccounts=function({apiHandler:e}){return{getAllAccounts({limit:t=null,offset:n=null,filter:r=null,sort:a=null}={}){const s={limit:t,offset:n,filter:r,sort:a};return e.getAll("journal-accounts",s)},createAccount:({id:t="",data:n})=>e.create(`journal-accounts/${t}`,t,n),getAccount:({id:t})=>e.get(`journal-accounts/${t}`),updateAccount:({id:t,data:n})=>e.put(`journal-accounts/${t}`,n)}}({apiHandler:e}),this.journalEntries=function({apiHandler:e}){return{getAllEntries({limit:t=null,offset:n=null,filter:r=null,sort:a=null}={}){const s={limit:t,offset:n,filter:r,sort:a};return e.getAll("journal-entries",s)},createEntry:({id:t="",data:n})=>e.create(`journal-entries/${t}`,t,n),getEntry:({id:t})=>e.get(`journal-entries/${t}`),updateEntry:({id:t,data:n})=>e.put(`journal-entries/${t}`,n)}}({apiHandler:e}),this.journalRecords=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null,expand:s=null}={}){const o={limit:t,offset:n,filter:r,sort:a,expand:s};return e.getAll("journal-records",o)},create:({id:t="",data:n})=>e.create(`journal-records/${t}`,t,n),get:({id:t})=>e.get(`journal-records/${t}`),update:({id:t,data:n})=>e.put(`journal-records/${t}`,n),delete:({id:t})=>e.delete(`journal-records/${t}`)}}({apiHandler:e}),this.kycDocuments=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null,expand:s=null}={}){const o={limit:t,offset:n,filter:r,sort:a,expand:s};return e.getAll("kyc-documents",o)},create:({id:t="",data:n})=>e.create(`kyc-documents/${t}`,t,n),get:({id:t})=>e.get(`kyc-documents/${t}`),update:({id:t,data:n})=>e.put(`kyc-documents/${t}`,n),accept:({id:t})=>e.post(`kyc-documents/${t}/acceptance`),matches:({id:t,data:n})=>e.post(`kyc-documents/${t}/matches`,n),reject:({id:t,data:n})=>e.post(`kyc-documents/${t}/rejection`,n),review:({id:t})=>e.post(`kyc-documents/${t}/review`),startReview:({id:t})=>e.post(`kyc-documents/${t}/start-review`),stopReview:({id:t})=>e.post(`kyc-documents/${t}/stop-review`)}}({apiHandler:e}),this.kycRequests=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null,expand:s=null}={}){const o={limit:t,offset:n,filter:r,sort:a,expand:s};return e.getAll("kyc-requests",o)},create:({data:t})=>e.post("kyc-requests",t),get:({id:t})=>e.get(`kyc-requests/${t}`),delete:({id:t})=>e.delete(`kyc-requests/${t}`),update:({id:t,data:n})=>e.patch(`kyc-requests/${t}`,n)}}({apiHandler:e}),this.kycSettings=function({apiHandler:e}){return{getKycSettings:()=>e.get("kyc-settings"),updateKycSettings:({data:t})=>e.put("kyc-settings",t)}}({apiHandler:e}),this.lists=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null,fields:s=null,q:o=null}={}){const i={limit:t,offset:n,filter:r,sort:a,fields:s,q:o};return e.getAll("lists",i)},create:({id:t="",data:n})=>e.create(`lists/${t}`,t,n),getLatestVersion:({id:t})=>e.get(`lists/${t}`),update:({id:t,data:n})=>e.put(`lists/${t}`,n),delete:({id:t})=>e.delete(`lists/${t}`),getByVersion:({id:t,version:n})=>e.get(`lists/${t}/${n}`)}}({apiHandler:e}),this.memberships=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null}={}){const s={limit:t,offset:n,filter:r,sort:a};return e.getAll("memberships",s)},get:({organizationId:t,userId:n})=>e.get(`memberships/${t}/${n}`),update:({organizationId:t,userId:n,data:r})=>e.put(`memberships/${t}/${n}`,r),delete:({organizationId:t,userId:n})=>e.delete(`memberships/${t}/${n}`)}}({apiHandler:e}),this.organizationExports=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,q:a=null,sort:s=null}={}){const o={limit:t,offset:n,filter:r,q:a,sort:s};return e.getAll("organization-exports",o)},create:({data:t})=>e.post("organization-exports",t),get:({id:t})=>e.get(`organization-exports/${t}`)}}({apiHandler:e}),this.organizations=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null,q:s=null}={}){const o={limit:t,offset:n,filter:r,sort:a,q:s};return e.getAll("organizations",o)},create:({data:t})=>e.post("organizations",t),get:({id:t})=>e.get(`organizations/${t}`),update:({id:t,data:n})=>e.patch(`organizations/${t}`,n)}}({apiHandler:e}),this.paymentCardsBankNames=function({apiHandler:e}){return{getAll({limit:t=null,q:n=null}={}){const r={limit:t,q:n};return e.getAll("payment-cards-bank-names",r)}}}({apiHandler:e}),this.paymentInstruments=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null,expand:o=null}={}){const i={filter:t,sort:n,limit:r,offset:a,q:s,expand:o};return e.getAll("payment-instruments",i)},create:({data:t})=>e.post("payment-instruments",t),get:({id:t})=>e.get(`payment-instruments/${t}`),update:({id:t,data:n})=>e.patch(`payment-instruments/${t}`,n),deactivate:({id:t})=>e.post(`payment-instruments/${t}/deactivation`),nameInquiry:({id:t,data:n})=>e.post(`payment-instruments/${t}/name-inquiry`,n)}}({apiHandler:e}),this.paymentMethods=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null}={}){const r={limit:t,offset:n};return e.getAll("payment-methods",r)},get:({apiName:t})=>e.get(`payment-methods/${t}`)}}({apiHandler:e}),this.paymentTokens=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null}={}){const r={limit:t,offset:n};return e.getAll("tokens",r)},create:({data:t})=>e.post("tokens",t),get:({token:t})=>e.get(`tokens/${t}`)}}({apiHandler:e}),this.payoutRequests=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null}={}){const s={limit:t,offset:n,filter:r,sort:a};return e.getAll("payout-requests",s)},create:({id:t="",data:n})=>e.create(`payout-requests/${t}`,t,n),get:({id:t})=>e.get(`payout-requests/${t}`),update:({id:t,data:n})=>e.put(`payout-requests/${t}`,n),cancel:({id:t,data:n})=>e.post(`payout-requests/${t}/cancel`,n),getPaymentInstruments:({id:t})=>e.get(`payout-requests/${t}/payment-instruments`)}}({apiHandler:e}),this.payouts=function({apiHandler:e}){return{create:({data:t})=>e.post("payouts",t)}}({apiHandler:e}),this.plans=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null}={}){const o={filter:t,sort:n,limit:r,offset:a,q:s};return e.getAll("plans",o)},create:({id:t="",data:n})=>e.create(`plans/${t}`,t,n),get:({id:t})=>e.get(`plans/${t}`),update:({id:t,data:n})=>e.put(`plans/${t}`,n),delete:({id:t})=>e.delete(`plans/${t}`)}}({apiHandler:e}),this.previews=function({apiHandler:e}){return{order:({data:t})=>e.post("previews/orders",t),sendEmailRuleAction:({data:t})=>e.post("previews/rule-actions/send-email",t),webhook:({data:t})=>e.post("previews/webhooks",t)}}({apiHandler:e}),this.products=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null}={}){const o={filter:t,sort:n,limit:r,offset:a,q:s};return e.getAll("products",o)},create:({id:t="",data:n})=>e.create(`products/${t}`,t,n),get:({id:t})=>e.get(`products/${t}`),update:({id:t,data:n})=>e.put(`products/${t}`,n),delete:({id:t})=>e.delete(`products/${t}`)}}({apiHandler:e}),this.profile=function({apiHandler:e}){return{startPermissionsEmulation:({data:t})=>e.post("permissions-emulation",t),stopPermissionsEmulation:()=>e.delete("permissions-emulation"),get:()=>e.get("profile"),update:({data:t})=>e.put("profile",t),getMfa:()=>e.get("profile/mfa"),updateMfa:()=>e.post("profile/mfa"),deleteMfa:()=>e.delete("profile/mfa")}}({apiHandler:e}),this.purchase=function({apiHandler:e}){return{readyToPay:({data:t})=>e.post("ready-to-pay",t)}}({apiHandler:e}),this.quotes=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,expand:s=null}={}){const o={filter:t,sort:n,limit:r,offset:a,expand:s};return e.getAll("quotes",o)},create:({id:t="",data:n})=>e.create(`quotes/${t}`,t,n),get({id:t,expand:n=null}){const r={expand:n};return e.get(`quotes/${t}`,r)},update:({id:t,data:n})=>e.put(`quotes/${t}`,n),patch:({id:t,data:n})=>e.patch(`quotes/${t}`,n),accept:({id:t})=>e.post(`quotes/${t}/accept`),cancel:({id:t})=>e.post(`quotes/${t}/cancel`),issue:({id:t})=>e.post(`quotes/${t}/issue`),recall:({id:t})=>e.post(`quotes/${t}/recall`),reject:({id:t})=>e.post(`quotes/${t}/reject`),getAllTimelineMessages({id:t,limit:n=null,offset:r=null,filter:a=null,sort:s=null,q:o=null}){const i={limit:n,offset:r,filter:a,sort:s,q:o};return e.getAll(`quotes/${t}/timeline`,i)},createTimelineComment:({id:t,data:n})=>e.post(`quotes/${t}/timeline`,n),getTimelineMessage:({id:t,messageId:n})=>e.get(`quotes/${t}/timeline/${n}`),deleteTimelineMessage:({id:t,messageId:n})=>e.delete(`quotes/${t}/timeline/${n}`),downloadPDF({id:t}){const n={headers:Ra,responseType:"arraybuffer"};return e.download(`quotes/${t}`,n)}}}({apiHandler:e}),this.resource=function({apiHandler:e}){return{get:({resource:t,resourceId:n,service:r})=>e.get(`${t}/${n}/external-identifiers/${r}`),sync:({resource:t,resourceId:n,service:r})=>e.post(`${t}/${n}/external-identifiers/${r}`),update:({resource:t,resourceId:n,service:r,data:a})=>e.put(`${t}/${n}/external-identifiers/${r}`,a),delete:({resource:t,resourceId:n,service:r})=>e.delete(`${t}/${n}/external-identifiers/${r}`)}}({apiHandler:e}),this.riskScoreRules=function({apiHandler:e}){return{getAll:()=>e.get("risk-score-rules"),updateRiskScoreRules:({data:t})=>e.put("risk-score-rules",t),getAllBlocklistRules:()=>e.get("risk-score-rules/blocklists"),updateRiskScoreBlocklistRules:({data:t})=>e.put("risk-score-rules/blocklists",t)}}({apiHandler:e}),this.roles=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null,q:s=null,expand:o=null}={}){const i={limit:t,offset:n,filter:r,sort:a,q:s,expand:o};return e.getAll("roles",i)},create:({id:t="",data:n})=>e.create(`roles/${t}`,t,n),get({id:t,expand:n=null}){const r={expand:n};return e.get(`roles/${t}`,r)},update:({id:t,data:n})=>e.put(`roles/${t}`,n),delete:({id:t})=>e.delete(`roles/${t}`)}}({apiHandler:e}),this.search=function({apiHandler:e}){return{get({sort:t=null,limit:n=null,offset:r=null,q:a=null}){const s={sort:t,limit:n,offset:r,q:a};return e.get("search",s)}}}({apiHandler:e}),this.segments=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null}={}){const o={limit:t,offset:n,sort:r,filter:a,q:s};return e.getAll("grid-segments",o)},create:({id:t="",data:n})=>e.create(`grid-segments/${t}`,t,n),get:({id:t})=>e.get(`grid-segments/${t}`),update:({id:t,data:n})=>e.put(`grid-segments/${t}`,n),delete:({id:t})=>e.delete(`grid-segments/${t}`)}}({apiHandler:e}),this.sendThroughAttribution=function({apiHandler:e}){return{getAll:({eventType:t})=>e.getAll(`send-through-attribution/${t}`)}}({apiHandler:e}),this.serviceCredentials=function({apiHandler:e}){return{getAll({type:t,filter:n=null,limit:r=null,offset:a=null,sort:s=null,q:o=null}){const i={filter:n,limit:r,offset:a,sort:s,q:o};return e.getAll(`service-credentials/${t}`,i)},create:({type:t,data:n})=>e.post(`service-credentials/${t}`,n),get:({type:t,id:n})=>e.get(`service-credentials/${t}/${n}`),update:({type:t,id:n,data:r})=>e.patch(`service-credentials/${t}/${n}`,r),getItems({type:t,id:n,limit:r=null,offset:a=null,filter:s=null,q:o=null,fields:i=null,sort:l=null}){const u={limit:r,offset:a,filter:s,q:o,fields:i,sort:l};return e.getAll(`service-credentials/${t}/${n}/items`,u)}}}({apiHandler:e}),this.shippingRates=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null,q:s=null}={}){const o={limit:t,offset:n,filter:r,sort:a,q:s};return e.getAll("shipping-rates",o)},create:({id:t="",data:n})=>e.create(`shipping-rates/${t}`,t,n),get:({id:t})=>e.get(`shipping-rates/${t}`),update:({id:t,data:n})=>e.put(`shipping-rates/${t}`,n),delete:({id:t})=>e.delete(`shipping-rates/${t}`)}}({apiHandler:e}),this.status=function({apiHandler:e}){return{get:()=>e.get("status")}}({apiHandler:e}),this.subscriptionCancellations=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null}={}){const s={limit:t,offset:n,filter:r,sort:a};return e.getAll("subscription-cancellations",s)},create:({id:t="",data:n})=>e.create(`subscription-cancellations/${t}`,t,n),get:({id:t})=>e.get(`subscription-cancellations/${t}`),delete:({id:t})=>e.delete(`subscription-cancellations/${t}`),patch:({id:t,data:n})=>e.patch(`subscription-cancellations/${t}`,n)}}({apiHandler:e}),this.subscriptionPauses=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null}={}){const s={limit:t,offset:n,filter:r,sort:a};return e.getAll("subscription-pauses",s)},pause:({id:t="",data:n})=>e.create(`subscription-pauses/${t}`,t,n),get:({id:t})=>e.get(`subscription-pauses/${t}`),update:({id:t,data:n})=>e.put(`subscription-pauses/${t}`,n),delete:({id:t})=>e.delete(`subscription-pauses/${t}`)}}({apiHandler:e}),this.subscriptionReactivations=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null}={}){const s={limit:t,offset:n,filter:r,sort:a};return e.getAll("subscription-reactivations",s)},reactivate:({data:t})=>e.post("subscription-reactivations",t),get:({id:t})=>e.get(`subscription-reactivations/${t}`)}}({apiHandler:e}),this.subscriptions=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null,expand:o=null}={}){const i={filter:t,sort:n,limit:r,offset:a,q:s,expand:o};return e.getAll("subscriptions",i)},create({id:t="",data:n,expand:r=null}){const a={expand:r};return e.create(`subscriptions/${t}`,t,n,a)},get({id:t,expand:n=null}){const r={expand:n};return e.get(`subscriptions/${t}`,r)},update({id:t,data:n,expand:r=null}){const a={expand:r};return e.put(`subscriptions/${t}`,n,a)},delete:({id:t})=>e.delete(`subscriptions/${t}`),void:({id:t})=>e.post(`subscriptions/${t}/void`),changeItems({id:t,data:n,expand:r=null}){const a={expand:r};return e.post(`subscriptions/${t}/change-items`,n,a)},updateItem:({id:t,itemId:n,data:r})=>e.patch(`subscriptions/${t}/items/${n}`,r),createInterimInvoice:({id:t,data:n})=>e.post(`subscriptions/${t}/interim-invoice`,n),getAllUpcomingInvoices({id:t,expand:n=null}){const r={expand:n};return e.getAll(`subscriptions/${t}/upcoming-invoices`,r)},getUpcomingInvoice({id:t,expand:n=null}){const r={expand:n};return e.get(`subscriptions/${t}/upcoming-invoice`,r)},issueEarlyUpcomingInvoice:({id:t,data:n})=>e.post(`subscriptions/${t}/upcoming-invoice/issue`,n),issueUpcomingInvoice:({id:t,invoiceId:n,data:r})=>e.post(`subscriptions/${t}/upcoming-invoices/${n}/issue`,r),getAllTimelineMessages({id:t,limit:n=null,offset:r=null,filter:a=null,sort:s=null,q:o=null}){const i={limit:n,offset:r,filter:a,sort:s,q:o};return e.getAll(`subscriptions/${t}/timeline`,i)},createTimelineComment:({id:t,data:n})=>e.post(`subscriptions/${t}/timeline`,n),getTimelineMessage:({id:t,messageId:n})=>e.get(`subscriptions/${t}/timeline/${n}`),deleteTimelineMessage:({id:t,messageId:n})=>e.delete(`subscriptions/${t}/timeline/${n}`)}}({apiHandler:e}),this.tags=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,q:a=null,sort:s=null}={}){const o={limit:t,offset:n,filter:r,q:a,sort:s};return e.getAll("tags",o)},create:({data:t})=>e.post("tags",t),get:({tag:t})=>e.get(`tags/${t}`),delete:({tag:t})=>e.delete(`tags/${t}`),update:({tag:t,data:n})=>e.patch(`tags/${t}`,n),tagCustomers:({tag:t,data:n})=>e.post(`tags/${t}/customers`,n),untagCustomers:({tag:t,data:n})=>e.delete(`tags/${t}/customers`,n),tagCustomer:({tag:t,customerId:n})=>e.post(`tags/${t}/customers/${n}`),untagCustomer:({tag:t,customerId:n})=>e.delete(`tags/${t}/customers/${n}`),tagKycDocuments:({tag:t,data:n})=>e.post(`tags/${t}/kyc-documents`,n),untagKycDocuments:({tag:t,data:n})=>e.delete(`tags/${t}/kyc-documents`,n),tagKycDocument:({tag:t,kycDocumentId:n})=>e.post(`tags/${t}/kyc-documents/${n}`),untagKycDocument:({tag:t,kycDocumentId:n})=>e.delete(`tags/${t}/kyc-documents/${n}`),tagAmlChecks:({tag:t,data:n})=>e.post(`tags/${t}/aml-checks`,n),untagAmlChecks:({tag:t,data:n})=>e.delete(`tags/${t}/aml-checks`,n),tagAmlCheck:({tag:t,amlCheckId:n})=>e.post(`tags/${t}/aml-checks/${n}`),untagAmlCheck:({tag:t,amlCheckId:n})=>e.delete(`tags/${t}/aml-checks/${n}`)}}({apiHandler:e}),this.tagsRules=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null}={}){const o={limit:t,offset:n,sort:r,filter:a,q:s};return e.getAll("tags-rules",o)},create:({id:t="",data:n})=>e.create(`tags-rules/${t}`,t,n),get:({id:t})=>e.get(`tags-rules/${t}`),update:({id:t,data:n})=>e.put(`tags-rules/${t}`,n),delete:({id:t})=>e.delete(`tags-rules/${t}`)}}({apiHandler:e}),this.tracking=function({apiHandler:e}){return{getAllApiLogs({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null,expand:o=null}={}){const i={limit:t,offset:n,sort:r,filter:a,q:s,expand:o};return e.getAll("tracking/api",i)},getApiLog:({id:t})=>e.get(`tracking/api/${t}`),getAllTaxTrackingLogs({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null}={}){const o={limit:t,offset:n,sort:r,filter:a,q:s};return e.getAll("tracking/taxes",o)},getTaxTrackingLog:({id:t})=>e.get(`tracking/taxes/${t}`),getAllListsChangesHistory({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null}={}){const o={limit:t,offset:n,sort:r,filter:a,q:s};return e.getAll("tracking/lists",o)},getAllWebhookTrackingLogs({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null}={}){const o={limit:t,offset:n,sort:r,filter:a,q:s};return e.getAll("tracking/webhooks",o)},getWebhookTrackingLog:({id:t})=>e.get(`tracking/webhooks/${t}`),resendWebhook:({id:t})=>e.post(`tracking/webhooks/${t}/resend`)}}({apiHandler:e}),this.transactions=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,q:a=null,sort:s=null,expand:o=null}={}){const i={limit:t,offset:n,filter:r,q:a,sort:s,expand:o};return e.getAll("transactions",i)},create({data:t,expand:n=null}){const r={expand:n};return e.post("transactions",t,r)},get({id:t,expand:n=null}){const r={expand:n};return e.get(`transactions/${t}`,r)},patch:({id:t,data:n})=>e.patch(`transactions/${t}`,n),query:({id:t})=>e.post(`transactions/${t}/query`),update:({id:t,data:n})=>e.post(`transactions/${t}/update`,n),refund({id:t,data:n,expand:r=null}){const a={expand:r};return e.post(`transactions/${t}/refund`,n,a)},getAllTimelineMessages({id:t,limit:n=null,offset:r=null,filter:a=null,sort:s=null,q:o=null}){const i={limit:n,offset:r,filter:a,sort:s,q:o};return e.getAll(`transactions/${t}/timeline`,i)},createTimelineComment:({id:t,data:n})=>e.post(`transactions/${t}/timeline`,n),getTimelineMessage:({id:t,messageId:n})=>e.get(`transactions/${t}/timeline/${n}`),deleteTimelineMessage:({id:t,messageId:n})=>e.delete(`transactions/${t}/timeline/${n}`)}}({apiHandler:e}),this.usages=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null}={}){const o={filter:t,sort:n,limit:r,offset:a,q:s};return e.getAll("usages",o)},create:({data:t})=>e.post("usages",t),get:({id:t})=>e.get(`usages/${t}`),delete:({id:t})=>e.delete(`usages/${t}`)}}({apiHandler:e}),this.users=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null}={}){const o={limit:t,offset:n,sort:r,filter:a,q:s};return e.getAll("users",o)},create:({id:t="",data:n})=>e.create(`users/${t}`,t,n),get:({id:t})=>e.get(`users/${t}`),update:({id:t,data:n})=>e.put(`users/${t}`,n),getMfa:({id:t})=>e.get(`users/${t}/mfa`)}}({apiHandler:e}),this.webhooks=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null}={}){const a={limit:t,offset:n,filter:r};return e.getAll("webhooks",a)},create:({id:t="",data:n})=>e.create(`webhooks/${t}`,t,n),get:({id:t})=>e.get(`webhooks/${t}`),update:({id:t,data:n})=>e.put(`webhooks/${t}`,n),delete:({id:t})=>e.delete(`webhooks/${t}`)}}({apiHandler:e}),this.websites=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,q:r=null,filter:a=null,sort:s=null}={}){const o={limit:t,offset:n,q:r,filter:a,sort:s};return e.getAll("websites",o)},create:({id:t="",data:n})=>e.create(`websites/${t}`,t,n),get:({id:t})=>e.get(`websites/${t}`),update:({id:t,data:n})=>e.put(`websites/${t}`,n),delete:({id:t})=>e.delete(`websites/${t}`)}}({apiHandler:e}),this.addRequestInterceptor=e.addRequestInterceptor,this.removeRequestInterceptor=e.removeRequestInterceptor,this.addResponseInterceptor=e.addResponseInterceptor,this.removeResponseInterceptor=e.removeResponseInterceptor,this.setTimeout=e.setTimeout,this.setProxyAgent=e.setProxyAgent,this.setSessionToken=e.setSessionToken,this.setPublishableKey=e.setPublishableKey,this.setEndpoints=e.setEndpoints,this.getCancellationToken=e.getCancellationToken,this.generateSignature=e.generateSignature}}const Ha={CustomersResource:function({apiHandler:e}){return{getCustomerLifetimeSummaryMetrics:({customerId:t})=>e.get(`customers/${t}/summary-metrics`)}},DataExportsResource:function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,sort:r=null,expand:a=null,filter:s=null,q:o=null,criteria:i=null}={}){const l={limit:t,offset:n,sort:r,expand:a,filter:s,q:o,criteria:i};return e.getAll("data-exports",l)},queue({id:t="",data:n,expand:r=null}){const a={expand:r};return e.create(`data-exports/${t}`,t,n,a)},get({id:t,expand:n=null}){const r={expand:n};return e.get(`data-exports/${t}`,r)},update({id:t,data:n,expand:r=null}){const a={expand:r};return e.put(`data-exports/${t}`,n,a)},delete:({id:t})=>e.delete(`data-exports/${t}`)}},HistogramsResource:function({apiHandler:e}){return{getTransactionHistogramReport({periodStart:t,periodEnd:n,aggregationPeriod:r,metric:a,filter:s=null}){const o={periodStart:t,periodEnd:n,aggregationPeriod:r,metric:a,filter:s};return e.get("histograms/transactions",o)}}},ReportsResource:function({apiHandler:e}){return{getApiLogSummary({periodStart:t,periodEnd:n,limit:r=null,offset:a=null}){const s={periodStart:t,periodEnd:n,limit:r,offset:a};return e.get("reports/api-log-summary",s)},getCumulativeSubscriptions({aggregationField:t,periodStart:n,periodEnd:r,limit:a=null,offset:s=null,filter:o=null}){const i={aggregationField:t,periodStart:n,periodEnd:r,limit:a,offset:s,filter:o};return e.get("reports/cumulative-subscriptions",i)},getDashboardMetrics({periodStart:t,periodEnd:n,metrics:r=null,segments:a=null}){const s={periodStart:t,periodEnd:n,metrics:r,segments:a};return e.get("reports/dashboard",s)},getDccMarkup({aggregationField:t,periodStart:n,periodEnd:r,limit:a=null,offset:s=null,filter:o=null}){const i={aggregationField:t,periodStart:n,periodEnd:r,limit:a,offset:s,filter:o};return e.get("reports/dcc-markup",i)},getDeclinedTransactions({aggregationField:t,periodStart:n,periodEnd:r,limit:a=null,offset:s=null,filter:o=null}){const i={aggregationField:t,periodStart:n,periodEnd:r,limit:a,offset:s,filter:o};return e.get("reports/declined-transactions",i)},getDisputes({aggregationField:t,periodMonth:n,limit:r=null,offset:a=null,filter:s=null}){const o={aggregationField:t,periodMonth:n,limit:r,offset:a,filter:s};return e.get("reports/disputes",o)},getEventsTriggeredSummary({periodStart:t,periodEnd:n,limit:r=null,offset:a=null}){const s={periodStart:t,periodEnd:n,limit:r,offset:a};return e.get("reports/events-triggered",s)},getTriggeredEventRuleReport({eventType:t,periodStart:n,periodEnd:r,limit:a=null,offset:s=null}){const o={periodStart:n,periodEnd:r,limit:a,offset:s};return e.get(`reports/events-triggered/${t}/rules`,o)},getFutureRenewals({periodStart:t,periodEnd:n,limit:r=null,offset:a=null}){const s={periodStart:t,periodEnd:n,limit:r,offset:a};return e.get("reports/future-renewals",s)},getJournal({currency:t=null,bookedFrom:n=null,bookedTo:r=null,recognizedAt:a=null,aggregationField:s=null,limit:o=null,offset:i=null,filter:l=null}){const u={currency:t,bookedFrom:n,bookedTo:r,recognizedAt:a,aggregationField:s,limit:o,offset:i,filter:l};return e.get("reports/journal",u)},getJournalSummary({periodStart:t=null,periodEnd:n=null,currency:r=null,aggregationField:a=null,amountField:s=null,journalAccountIds:o=null}){const i={periodStart:t,periodEnd:n,currency:r,aggregationField:a,amountField:s,journalAccountIds:o};return e.get("reports/journal-summary",i)},getKycAcceptanceSummary({periodStart:t,periodEnd:n}){const r={periodStart:t,periodEnd:n};return e.get("reports/kyc-acceptance-summary",r)},getKycRejectionSummary({periodStart:t,periodEnd:n}){const r={periodStart:t,periodEnd:n};return e.get("reports/kyc-rejection-summary",r)},getKycRequestSummary({periodStart:t,periodEnd:n}){const r={periodStart:t,periodEnd:n};return e.get("reports/kyc-request-summary",r)},getMonthlyRecurringRevenue({currency:t,periodStart:n,periodEnd:r,limit:a=null,offset:s=null}){const o={currency:t,periodStart:n,periodEnd:r,limit:a,offset:s};return e.get("reports/monthly-recurring-revenue",o)},getAnnualRecurringRevenue({currency:t,periodStart:n,periodEnd:r,limit:a=null,offset:s=null}){const o={currency:t,periodStart:n,periodEnd:r,limit:a,offset:s};return e.get("reports/annual-recurring-revenue",o)},getRenewalSales({periodStart:t,periodEnd:n,limit:r=null,offset:a=null}){const s={periodStart:t,periodEnd:n,limit:r,offset:a};return e.get("reports/renewal-sales",s)},getRetentionPercentage({aggregationField:t,aggregationPeriod:n,includeSwitchedSubscriptions:r=null,periodStart:a,periodEnd:s,limit:o=null,offset:i=null,filter:l=null,criteria:u=null}){const c={aggregationField:t,aggregationPeriod:n,includeSwitchedSubscriptions:r,periodStart:a,periodEnd:s,limit:o,offset:i,filter:l,criteria:u};return e.get("reports/retention-percentage",c)},getRetentionValue({aggregationField:t,aggregationPeriod:n,includeRefunds:r=null,includeDisputes:a=null,periodStart:s,periodEnd:o,limit:i=null,offset:l=null,filter:u=null,sort:c=null,criteria:d=null}){const p={aggregationField:t,aggregationPeriod:n,includeRefunds:r,includeDisputes:a,periodStart:s,periodEnd:o,limit:i,offset:l,filter:u,sort:c,criteria:d};return e.get("reports/retention-value",p)},getRevenueWaterfall({currency:t,issuedFrom:n,issuedTo:r,recognizedTo:a}){const s={currency:t,issuedFrom:n,issuedTo:r,recognizedTo:a};return e.get("reports/revenue-waterfall",s)},getRevenueAudit({filter:t=null,sort:n=null,limit:r=null,offset:a=null}){const s={filter:t,sort:n,limit:r,offset:a};return e.get("reports/revenue-audit",s)},getSubscriptionCancellation({periodStart:t,periodEnd:n,aggregationField:r,limit:a=null,offset:s=null,filter:o=null}){const i={periodStart:t,periodEnd:n,aggregationField:r,limit:a,offset:s,filter:o};return e.get("reports/subscription-cancellation",i)},getSubscriptionRenewal({periodStart:t,periodEnd:n,limit:r=null,offset:a=null}){const s={periodStart:t,periodEnd:n,limit:r,offset:a};return e.get("reports/subscription-renewal",s)},getTax({periodStart:t,periodEnd:n,accountingMethod:r,limit:a=null,offset:s=null}){const o={periodStart:t,periodEnd:n,accountingMethod:r,limit:a,offset:s};return e.get("reports/tax",o)},getTimeSeriesTransaction({type:t,subaggregate:n,periodStart:r,periodEnd:a,limit:s=null,offset:o=null}){const i={type:t,subaggregate:n,periodStart:r,periodEnd:a,limit:s,offset:o};return e.get("reports/time-series-transaction",i)},getTransactionsTimeDispute({aggregationField:t,periodStart:n,periodEnd:r,limit:a=null,offset:s=null,filter:o=null}){const i={aggregationField:t,periodStart:n,periodEnd:r,limit:a,offset:s,filter:o};return e.get("reports/transactions-time-dispute",i)},getTransactions({periodStart:t,periodEnd:n,aggregationField:r,limit:a=null,offset:s=null,filter:o=null}){const i={periodStart:t,periodEnd:n,aggregationField:r,limit:a,offset:s,filter:o};return e.get("reports/transactions",i)}}},SubscriptionsResource:function({apiHandler:e}){return{getSubscriptionSummaryMetrics:({subscriptionId:t})=>e.get(`subscriptions/${t}/summary-metrics`)}},TimelinesResource:function({apiHandler:e}){return{getActivityFeed({eventTypes:t=null,limit:n=1e3,offset:r=0}){const a={eventTypes:t,limit:n,offset:r};return e.getAll("activity-feed",a)},getTransaction({id:t="",eventTypes:n=null,limit:r=1e3,offset:a=0}){const s={eventTypes:n,limit:r,offset:a};return e.getAll(`transactions/${t}/timeline`,s)},getCustomer({id:t="",eventTypes:n=null,limit:r=1e3,offset:a=0}){const s={eventTypes:n,limit:r,offset:a};return e.getAll(`customers/${t}/timeline`,s)}}},LocationResource:function({apiHandler:e}){return{query:()=>e.get("location")}}};class Na{constructor({apiHandler:e}){this.customers=Ha.CustomersResource({apiHandler:e}),this.dataExports=Ha.DataExportsResource({apiHandler:e}),this.histograms=Ha.HistogramsResource({apiHandler:e}),this.reports=Ha.ReportsResource({apiHandler:e}),this.subscriptions=Ha.SubscriptionsResource({apiHandler:e}),this.timelines=Ha.TimelinesResource({apiHandler:e}),this.location=Ha.LocationResource({apiHandler:e}),this.addRequestInterceptor=e.addRequestInterceptor,this.removeRequestInterceptor=e.removeRequestInterceptor,this.addResponseInterceptor=e.addResponseInterceptor,this.removeResponseInterceptor=e.removeResponseInterceptor,this.setTimeout=e.setTimeout,this.setProxyAgent=e.setProxyAgent,this.setSessionToken=e.setSessionToken,this.setEndpoints=e.setEndpoints,this.getCancellationToken=e.getCancellationToken}}class Oa{constructor({apiHandler:e}){this.account=function({apiHandler:e}){return{get({expand:t=null}={}){const n={expand:t};return e.get("account",n)},update:({data:t})=>e.patch("account",t),requestPasswordReset:({data:t})=>e.post("account/forgot-password",t),changePassword:({data:t})=>e.patch("account/password",t),resendEmailVerification:({data:t})=>e.post("account/resend-verification",t),confirmPasswordReset:({token:t,data:n})=>e.post(`account/reset-password/${t}`,n),verifyEmail:({token:t})=>e.post(`account/verification/${t}`),register:({data:t})=>e.post("register",t)}}({apiHandler:e}),this.authorization=function({apiHandler:e}){return{login:({data:t})=>e.post("login",t),logout:()=>e.post("logout")}}({apiHandler:e}),this.billingPortals=function({apiHandler:e}){return{get:({slug:t})=>e.get(`billing-portals/${t}`)}}({apiHandler:e}),this.cashiers=function({apiHandler:e}){return{get:({id:t})=>e.get(`cashiers/${t}`)}}({apiHandler:e}),this.checkoutForms=function({apiHandler:e}){return{get:({id:t})=>e.get(`checkout-forms/${t}`)}}({apiHandler:e}),this.customFields=function({apiHandler:e}){return{getAll({resource:t,limit:n=null,offset:r=null}){const a={limit:n,offset:r};return e.getAll(`custom-fields/${t}`,a)}}}({apiHandler:e}),this.depositRequests=function({apiHandler:e}){return{get({id:t,expand:n=null}){const r={expand:n};return e.get(`deposit-requests/${t}`,r)}}}({apiHandler:e}),this.deposit=function({apiHandler:e}){return{create:({data:t})=>e.post("deposit",t)}}({apiHandler:e}),this.depositStrategies=function({apiHandler:e}){return{get:({id:t})=>e.get(`deposit-strategies/${t}`)}}({apiHandler:e}),this.invoices=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null,expand:o=null}={}){const i={filter:t,sort:n,limit:r,offset:a,q:s,expand:o};return e.getAll("invoices",i)},get({id:t,expand:n=null}){const r={expand:n};return e.get(`invoices/${t}`,r)},update:({id:t,data:n})=>e.patch(`invoices/${t}`,n),downloadPDF({id:t}){const n={headers:Ra,responseType:"arraybuffer"};return e.download(`invoices/${t}`,n)}}}({apiHandler:e}),this.kycDocuments=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null}={}){const r={limit:t,offset:n};return e.getAll("kyc-documents",r)},create:({data:t})=>e.post("kyc-documents",t),get:({id:t})=>e.get(`kyc-documents/${t}`),update:({id:t,data:n})=>e.patch(`kyc-documents/${t}`,n)}}({apiHandler:e}),this.kycLivenessSessions=function({apiHandler:e}){return{create:({data:t})=>e.post("kyc-liveness-sessions",t),get:({id:t})=>e.get(`kyc-liveness-sessions/${t}`),finish:({id:t})=>e.post(`kyc-liveness-sessions/${t}/finish`)}}({apiHandler:e}),this.kycRequests=function({apiHandler:e}){return{get({id:t,expand:n=null}){const r={expand:n};return e.get(`kyc-requests/${t}`,r)}}}({apiHandler:e}),this.orders=function({apiHandler:e}){return{getUpcomingInvoice({id:t,expand:n=null}){const r={expand:n};return e.get(`orders/${t}/upcoming-invoice`,r)},getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null,expand:o=null}={}){const i={filter:t,sort:n,limit:r,offset:a,q:s,expand:o};return e.getAll("orders",i)},get({id:t,expand:n=null}){const r={expand:n};return e.get(`orders/${t}`,r)},update:({id:t,data:n})=>e.patch(`orders/${t}`,n),cancel:({id:t,data:n})=>e.post(`orders/${t}/cancellation`,n),pause:({id:t,data:n})=>e.post(`orders/${t}/pause`,n)}}({apiHandler:e}),this.paymentInstruments=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null}={}){const o={filter:t,sort:n,limit:r,offset:a,q:s};return e.getAll("payment-instruments",o)},create:({data:t})=>e.post("payment-instruments",t),get({id:t,limit:n=null,offset:r=null}){const a={limit:n,offset:r};return e.get(`payment-instruments/${t}`,a)},update:({id:t,data:n})=>e.patch(`payment-instruments/${t}`,n),deactivate:({id:t})=>e.post(`payment-instruments/${t}/deactivation`),getSetupTransaction:({id:t})=>e.get(`payment-instruments/${t}/setup`),setup:({id:t,data:n})=>e.post(`payment-instruments/${t}/setup`,n)}}({apiHandler:e}),this.payoutRequests=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null}={}){const o={filter:t,sort:n,limit:r,offset:a,q:s};return e.getAll("payout-requests",o)},create:({data:t})=>e.post("payout-requests",t),get:({id:t})=>e.get(`payout-requests/${t}`),update:({id:t,data:n})=>e.patch(`payout-requests/${t}`,n)}}({apiHandler:e}),this.plans=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null,expand:o=null}={}){const i={filter:t,sort:n,limit:r,offset:a,q:s,expand:o};return e.getAll("plans",i)},get({id:t,expand:n=null}){const r={expand:n};return e.get(`plans/${t}`,r)}}}({apiHandler:e}),this.products=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null}={}){const o={filter:t,sort:n,limit:r,offset:a,q:s};return e.getAll("products",o)},get:({id:t})=>e.get(`products/${t}`)}}({apiHandler:e}),this.purchase=function({apiHandler:e}){return{payment:({data:t})=>e.post("payment",t),purchase:({data:t})=>e.post("purchase",t),preview:({data:t})=>e.post("preview-purchase",t),readyToPay:({data:t})=>e.post("ready-to-pay",t)}}({apiHandler:e}),this.quotes=function({apiHandler:e}){return{get({id:t,expand:n=null}){const r={expand:n};return e.get(`quotes/${t}`,r)},accept:({id:t})=>e.post(`quotes/${t}/accept`),reject:({id:t})=>e.post(`quotes/${t}/reject`),downloadPDF({id:t}){const n={headers:Ra,responseType:"arraybuffer"};return e.download(`quotes/${t}`,n)}}}({apiHandler:e}),this.readyToPayout=function({apiHandler:e}){return{readyToPayout:({data:t})=>e.post("ready-to-payout",t)}}({apiHandler:e}),this.subscriptionReactivations=function({apiHandler:e}){return{reactivation:({data:t})=>e.post("subscription-reactivations",t)}}({apiHandler:e}),this.subscriptions=function({apiHandler:e}){return{changeItems:({id:t,data:n})=>e.post(`subscriptions/${t}/change-items`,n),create:({data:t})=>e.post("subscriptions",t)}}({apiHandler:e}),this.transactions=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,q:a=null,sort:s=null}={}){const o={limit:t,offset:n,filter:r,q:a,sort:s};return e.getAll("transactions",o)},get:({id:t})=>e.get(`transactions/${t}`),finishKyc:({id:t,token:n})=>e.post(`transactions/${t}/${n}/continue`),skipKyc:({id:t,token:n})=>e.post(`transactions/${t}/${n}/bypass`),update:({id:t,data:n})=>e.patch(`transactions/${t}`,n)}}({apiHandler:e}),this.websites=function({apiHandler:e}){return{get:({id:t})=>e.get(`websites/${t}`)}}({apiHandler:e}),this.checkoutForm=this.checkoutForms,this.billingPortal=this.billingPortals,this.addRequestInterceptor=e.addRequestInterceptor,this.removeRequestInterceptor=e.removeRequestInterceptor,this.addResponseInterceptor=e.addResponseInterceptor,this.removeResponseInterceptor=e.removeResponseInterceptor,this.setTimeout=e.setTimeout,this.setProxyAgent=e.setProxyAgent,this.setSessionToken=e.setSessionToken,this.setPublishableKey=e.setPublishableKey,this.setEndpoints=e.setEndpoints,this.getCancellationToken=e.getCancellationToken,this.generateSignature=e.generateSignature}}const Ua={live:"https://api.rebilly.com",sandbox:"https://api-sandbox.rebilly.com"},_a=6e3;function ja({apiKey:e=null,sandbox:t=!1,timeout:n=_a,organizationId:r=null,urls:a=Ua,internalOptions:s=null}={}){if(!a.live||!a.sandbox)throw new Error("RebillyAPI urls config must include a key for both `live` and `sandbox`");if("string"!=typeof a.live||"string"!=typeof a.sandbox)throw new Error("RebillyAPI urls config `live` and `sandbox` must be strings");return function({apiHandler:e}){return new Fa({apiHandler:e})}({apiHandler:$a({options:{apiEndpoints:a,apiKey:e,apiVersion:"",isSandbox:t,requestTimeout:n,jwt:null,organizationId:r,appName:(null==s?void 0:s.appName)??null}})})}function qa({apiKey:e=null,sandbox:t=!1,timeout:n=_a,organizationId:r=null,urls:a=Ua,internalOptions:s=null}={}){if(!a.live||!a.sandbox)throw new Error("RebillyAPI urls config must include a key for both `live` and `sandbox`");if("string"!=typeof a.live||"string"!=typeof a.sandbox)throw new Error("RebillyAPI urls config `live` and `sandbox` must be strings");return function({apiHandler:e}){return new Na({apiHandler:e})}({apiHandler:$a({options:{apiEndpoints:a,apiKey:e,apiVersion:"experimental",isSandbox:t,requestTimeout:n,jwt:null,organizationId:r,appName:(null==s?void 0:s.appName)??null}})})}function Da({publishableKey:e=null,jwt:t=null,sandbox:n=!1,timeout:r=_a,organizationId:a=null,urls:s=Ua,internalOptions:o=null}={}){if(!s.live||!s.sandbox)throw new Error("RebillyAPI urls config must include a key for both `live` and `sandbox`");if("string"!=typeof s.live||"string"!=typeof s.sandbox)throw new Error("RebillyAPI urls config `live` and `sandbox` must be strings");const i={apiEndpoints:s,publishableKey:e,jwt:t,apiVersion:"storefront",isSandbox:n,requestTimeout:r,organizationId:a,appName:(null==o?void 0:o.appName)??null},l=$a({options:i});return l.setSessionToken(i.jwt),function({apiHandler:e}){return new Oa({apiHandler:e})}({apiHandler:l})}async function Wa(e){try{return Ve(Ge.storefront),Xe(Ge.options),await e()}catch(t){throw ht(t),t}}class za{constructor({publishableKey:e=null,jwt:t=null,organizationId:n=null,mode:r="live",timeout:a=6e4,liveUrl:s=null,sandboxUrl:o=null,appName:i}={}){const l={live:s||"https://api.rebilly.com",sandbox:o||"https://api-sandbox.rebilly.com"},u="string"==typeof a?parseInt(a,10):a,c={organizationId:n||void 0,sandbox:"sandbox"===r,timeout:Number.isNaN(u)?6e4:u,urls:l,internalOptions:{appName:i?`${i}/instruments`:"instruments"}},d=Da(c),p="function"==typeof ja.default?ja.default(c):ja(c),m=qa(c);return d.setSessionToken(e||t),p.setSessionToken(e||t),m.setSessionToken(e||t),this.api=d,this.api.rebilly=p,this.api.rebilly&&(this.api.rebilly.experimental=m),this.api}}const Va=e=>null!=e&&"object"==typeof e,Xa={default:1,minimum:1,maximum:Number.MAX_SAFE_INTEGER,multipleOf:1};function Ga({quantity:e}){return Va(e)?{...Xa,...e}:e}function Za(e){return Va(e)?e.default:e}function Ka(e){return e.map(({planId:e,quantity:t})=>({planId:e,quantity:t&&Za(t)}))}function Ja(e){return e.reduce((e,t)=>t.planId&&t.quantity?(e.set(t.planId,ae(t.quantity)),e):e,new Map)}async function Ya({data:e=null}={}){return Wa(async()=>{var t,n,r,a,s,o,i,l,u,c,d,p,m,f,y,h,g,b,v,w,k,x,S,P,C,B;const A=null==(t=Ge.options)?void 0:t.items,L=(null==(n=Ge.options)?void 0:n.websiteId)||null,E=(null==(a=null==(r=Ge.options)?void 0:r.bumpOffer)?void 0:a.map(({planId:e})=>e))||[],I={data:{websiteId:L??void 0}};var T,M;if((null==(M=null==(T=Ge.data)?void 0:T.summaryLineItems)?void 0:M.every(e=>null!=e.planId&&E.includes(e.planId)))||(null==(s=Ge.data)?void 0:s.acceptBumpOffer)||!(null==(o=Ge.data)?void 0:o.summaryLineItems)?A?(null==(l=Ge.data)?void 0:l.acceptBumpOffer)?I.data.items=null==(u=Ge.options)?void 0:u.bumpOffer:I.data.items=Ka(A??[]):((null==(c=Ge.data)?void 0:c.summaryLineItems)&&(I.data.items=Ka(Ge.data.summaryLineItems)),!(null==(d=Ge.data)?void 0:d.acceptBumpOffer)&&(null==(f=null==(m=null==(p=Ge.data)?void 0:p.previewPurchase)?void 0:m.addonLineItems)?void 0:f.length)>0&&(I.data.items=null==(h=null==(y=I.data)?void 0:y.items)?void 0:h.concat(Ge.data.previewPurchase.addonLineItems))):I.data.items=Ka(null==(i=Ge.data)?void 0:i.summaryLineItems),!(null==(g=Ge.data)?void 0:g.acceptBumpOffer)&&(null==(w=null==(v=null==(b=Ge.data)?void 0:b.previewPurchase)?void 0:v.addonLineItems)?void 0:w.length)>0&&(I.data.items=null==(k=I.data.items)?void 0:k.concat(Ge.data.previewPurchase.addonLineItems)),I.data.items&&I.data.items.length>1){const e=I.data.items.map(e=>JSON.stringify(e)),t=new Set(e),n=Array.from(t).map(e=>JSON.parse(e));I.data.items=n}(null==(x=Ge.data)?void 0:x.amountAndCurrency)&&(I.data={...I.data,...Ge.data.amountAndCurrency}),(null==e?void 0:e.billingAddress)&&(I.data.billingAddress=e.billingAddress),(null==e?void 0:e.deliveryAddress)&&(I.data.deliveryAddress=e.deliveryAddress),(null==(S=Ge.data)?void 0:S.couponIds)&&(I.data.couponIds=Ge.data.couponIds),Ve(Ge.storefront);const{fields:$}=await Ge.storefront.purchase.preview(I);let R=$;if(!(null==(P=Ge.data)?void 0:P.acceptBumpOffer)){const e=Ja(A??[]);if(R=$e(F=$,void 0,F,new Map,void 0),R.lineItems){if(null==(B=null==(C=Ge.data)?void 0:C.previewPurchase)?void 0:B.addonLineItems){const e=Ge.data.previewPurchase.addonLineItems.reduce((e,t)=>(e.set(t.planId,t),e),new Map);R.lineItems=R.lineItems.filter(t=>!e.has(t.planId)),R.addonLineItems=Ge.data.previewPurchase.addonLineItems}R.lineItems.forEach(function(e){return function(t){if(!t.planId)return;const n=e.get(t.planId)||t.quantity;t.quantity&&Va(n)&&(n.default=Za(t.quantity),t.quantity=n)}}(e))}}var F;return Ge.data&&(Ge.data.previewPurchase=R),new At(R)})}let Qa=!1;async function es(){var e,t;const n=Ge.toModel(),r={options:n.options,data:n.data,mainStyleVars:n.mainStyleVars},a=null==(t=null==(e=Ge.options)?void 0:e._computed)?void 0:t.paymentMethodsUrl,s="rebilly-instruments-summary",o=await new xt({name:s,url:`${a}?name=${s}`,container:Ge.summary,model:r,route:{name:"summary"}});return o.bindEventListeners({loader:Ge.loader}),ze.summary=o,async function(e){e.component.on(`${e.name}-update-items`,async e=>{try{if(Qa)return;Qa=!0;const t=Ja(e);Ge.data.summaryLineItems.forEach(e=>{const n=Za(t.get(e.planId));Va(e.quantity)?e.quantity.default=n:e.quantity=n}),await Ya(),Ge.updateModel(),Qa=!1}catch(t){console.error(t),Qa=!1}})}(o),{then:e=>e()}}async function ts({instrument:e}={}){await Ya({data:e}),Ge.updateModel()}var ns="production",rs=function(){return rs=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},rs.apply(this,arguments)};function as(e,t,n,r){return new(n||(n=Promise))(function(t,a){function s(e){try{i(r.next(e))}catch(t){a(t)}}function o(e){try{i(r.throw(e))}catch(t){a(t)}}function i(e){e.done?t(e.value):function(e){return e instanceof n?e:new n(function(t){t(e)})}(e.value).then(s,o)}i((r=r.apply(e,[])).next())})}function ss(e,t){var n,r,a,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=i(0),o.throw=i(1),o.return=i(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function i(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,i[0]&&(s=0)),s;)try{if(n=1,r&&(a=2&i[0]?r.return:i[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,i[1])).done)return a;switch(r=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(a=(a=s.trys).length>0&&a[a.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){s.label=i[1];break}if(6===i[0]&&s.label<a[1]){s.label=a[1],a=i;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(i);break}a[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(l){i=[6,l],r=0}finally{n=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}function os(e,t,n){for(var r,a=0,s=t.length;a<s;a++)(r||!(a in t))&&(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}var is="3.4.2";function ls(e,t){return new Promise(function(n){return setTimeout(n,e,t)})}function us(e){return!!e&&"function"==typeof e.then}function cs(e,t){try{var n=e();us(n)?n.then(function(e){return t(!0,e)},function(e){return t(!1,e)}):t(!0,n)}catch(r){t(!1,r)}}function ds(e,t,n){return void 0===n&&(n=16),as(this,0,void 0,function(){var r,a,s,o;return ss(this,function(i){switch(i.label){case 0:r=Array(e.length),a=Date.now(),s=0,i.label=1;case 1:return s<e.length?(r[s]=t(e[s],s),(o=Date.now())>=a+n?(a=o,[4,ls(0)]):[3,3]):[3,4];case 2:i.sent(),i.label=3;case 3:return++s,[3,1];case 4:return[2,r]}})})}function ps(e){e.then(void 0,function(){})}function ms(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function fs(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function ys(e,t){return 32===(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])}function hs(e,t){return 0===(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]}function gs(e,t){return[e[0]^t[0],e[1]^t[1]]}function bs(e){return e=gs(e,[0,e[0]>>>1]),e=gs(e=fs(e,[4283543511,3981806797]),[0,e[0]>>>1]),e=gs(e=fs(e,[3301882366,444984403]),[0,e[0]>>>1])}function vs(e){return parseInt(e)}function ws(e){return parseFloat(e)}function ks(e,t){return"number"==typeof e&&isNaN(e)?t:e}function xs(e){return e.reduce(function(e,t){return e+(t?1:0)},0)}function Ss(e,t){if(void 0===t&&(t=1),Math.abs(t)>=1)return Math.round(e/t)*t;var n=1/t;return Math.round(e*n)/n}function Ps(e){return e&&"object"==typeof e&&"message"in e?e:{message:e}}function Cs(e,t,n){var r=Object.keys(e).filter(function(e){return function(e,t){return!function(e,t){for(var n=0,r=e.length;n<r;++n)if(e[n]===t)return!0;return!1}(e,t)}(n,e)}),a=ds(r,function(n){return function(e,t){var n=new Promise(function(n){var r=Date.now();cs(e.bind(null,t),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var a=Date.now()-r;if(!e[0])return n(function(){return{error:Ps(e[1]),duration:a}});var s=e[1];if(function(e){return"function"!=typeof e}(s))return n(function(){return{value:s,duration:a}});n(function(){return new Promise(function(e){var t=Date.now();cs(s,function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var s=a+Date.now()-t;if(!n[0])return e({error:Ps(n[1]),duration:s});e({value:n[1],duration:s})})})})})});return ps(n),function(){return n.then(function(e){return e()})}}(e[n],t)});return ps(a),function(){return as(this,0,void 0,function(){var e,t,n,s;return ss(this,function(o){switch(o.label){case 0:return[4,a];case 1:return[4,ds(o.sent(),function(e){var t=e();return ps(t),t})];case 2:return e=o.sent(),[4,Promise.all(e)];case 3:for(t=o.sent(),n={},s=0;s<r.length;++s)n[r[s]]=t[s];return[2,n]}})})}}function Bs(){var e=window,t=navigator;return xs(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function As(){var e=window,t=navigator;return xs(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,0===t.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function Ls(){var e=window,t=navigator;return xs(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,0===t.vendor.indexOf("Apple"),"getStorageUpdates"in t,"WebKitMediaKeys"in e])>=4}function Es(){var e=window;return xs(["safari"in e,!("DeviceMotionEvent"in e),!("ongestureend"in e),!("standalone"in navigator)])>=3}function Is(){var e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function Ts(){var e=As(),t=function(){var e,t,n=window;return xs(["buildID"in navigator,"MozAppearance"in(null!==(t=null===(e=document.documentElement)||void 0===e?void 0:e.style)&&void 0!==t?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}();if(!e&&!t)return!1;var n=window;return xs(["onorientationchange"in n,"orientation"in n,e&&!("SharedWorker"in n),t&&/android/i.test(navigator.appVersion)])>=2}function Ms(e){var t=new Error(e);return t.name=e,t}function $s(e,t,n){var r,a,s;return void 0===n&&(n=50),as(this,0,void 0,function(){var o,i;return ss(this,function(l){switch(l.label){case 0:o=document,l.label=1;case 1:return o.body?[3,3]:[4,ls(n)];case 2:return l.sent(),[3,1];case 3:i=o.createElement("iframe"),l.label=4;case 4:return l.trys.push([4,,10,11]),[4,new Promise(function(e,n){var r=!1,a=function(){r=!0,e()};i.onload=a,i.onerror=function(e){r=!0,n(e)};var s=i.style;s.setProperty("display","block","important"),s.position="absolute",s.top="0",s.left="0",s.visibility="hidden",t&&"srcdoc"in i?i.srcdoc=t:i.src="about:blank",o.body.appendChild(i);var l=function(){var e,t;r||("complete"===(null===(t=null===(e=i.contentWindow)||void 0===e?void 0:e.document)||void 0===t?void 0:t.readyState)?a():setTimeout(l,10))};l()})];case 5:l.sent(),l.label=6;case 6:return null!==(a=null===(r=i.contentWindow)||void 0===r?void 0:r.document)&&void 0!==a&&a.body?[3,8]:[4,ls(n)];case 7:return l.sent(),[3,6];case 8:return[4,e(i,i.contentWindow)];case 9:return[2,l.sent()];case 10:return null===(s=i.parentNode)||void 0===s||s.removeChild(i),[7];case 11:return[2]}})})}function Rs(e){for(var t=function(e){for(var t,n,r="Unexpected syntax '".concat(e,"'"),a=/^\s*([a-z-]*)(.*)$/i.exec(e),s=a[1]||void 0,o={},i=/([.:#][\w-]+|\[.+?\])/gi,l=function(e,t){o[e]=o[e]||[],o[e].push(t)};;){var u=i.exec(a[2]);if(!u)break;var c=u[0];switch(c[0]){case".":l("class",c.slice(1));break;case"#":l("id",c.slice(1));break;case"[":var d=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(c);if(!d)throw new Error(r);l(d[1],null!==(n=null!==(t=d[4])&&void 0!==t?t:d[5])&&void 0!==n?n:"");break;default:throw new Error(r)}}return[s,o]}(e),n=t[0],r=t[1],a=document.createElement(n??"div"),s=0,o=Object.keys(r);s<o.length;s++){var i=o[s],l=r[i].join(" ");"style"===i?Fs(a.style,l):a.setAttribute(i,l)}return a}function Fs(e,t){for(var n=0,r=t.split(";");n<r.length;n++){var a=r[n],s=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(a);if(s){var o=s[1],i=s[2],l=s[4];e.setProperty(o,i,l||"")}}}var Hs=["monospace","sans-serif","serif"],Ns=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function Os(e){return e.toDataURL()}var Us,_s;function js(){var e=this;return function(){if(void 0===_s){var e=function(){var t=qs();Ds(t)?_s=setTimeout(e,2500):(Us=t,_s=void 0)};e()}}(),function(){return as(e,0,void 0,function(){var e;return ss(this,function(t){switch(t.label){case 0:return Ds(e=qs())?Us?[2,os([],Us)]:function(){var e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}()?[4,Is()]:[3,2]:[3,2];case 1:t.sent(),e=qs(),t.label=2;case 2:return Ds(e)||(Us=e),[2,e]}})})}}function qs(){var e=screen;return[ks(ws(e.availTop),null),ks(ws(e.width)-ws(e.availWidth)-ks(ws(e.availLeft),0),null),ks(ws(e.height)-ws(e.availHeight)-ks(ws(e.availTop),0),null),ks(ws(e.availLeft),null)]}function Ds(e){for(var t=0;t<4;++t)if(e[t])return!1;return!0}function Ws(e){var t;return as(this,0,void 0,function(){var n,r,a,s,o,i,l;return ss(this,function(u){switch(u.label){case 0:for(n=document,r=n.createElement("div"),a=new Array(e.length),s={},zs(r),l=0;l<e.length;++l)"DIALOG"===(o=Rs(e[l])).tagName&&o.show(),zs(i=n.createElement("div")),i.appendChild(o),r.appendChild(i),a[l]=o;u.label=1;case 1:return n.body?[3,3]:[4,ls(50)];case 2:return u.sent(),[3,1];case 3:n.body.appendChild(r);try{for(l=0;l<e.length;++l)a[l].offsetParent||(s[e[l]]=!0)}finally{null===(t=r.parentNode)||void 0===t||t.removeChild(r)}return[2,s]}})})}function zs(e){e.style.setProperty("display","block","important")}function Vs(e){return matchMedia("(inverted-colors: ".concat(e,")")).matches}function Xs(e){return matchMedia("(forced-colors: ".concat(e,")")).matches}function Gs(e){return matchMedia("(prefers-contrast: ".concat(e,")")).matches}function Zs(e){return matchMedia("(prefers-reduced-motion: ".concat(e,")")).matches}function Ks(e){return matchMedia("(dynamic-range: ".concat(e,")")).matches}var Js=Math,Ys=function(){return 0};var Qs={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};var eo={fonts:function(){return $s(function(e,t){var n=t.document,r=n.body;r.style.fontSize="48px";var a=n.createElement("div"),s={},o={},i=function(e){var t=n.createElement("span"),r=t.style;return r.position="absolute",r.top="0",r.left="0",r.fontFamily=e,t.textContent="mmMwWLliI0O&1",a.appendChild(t),t},l=Hs.map(i),u=function(){for(var e={},t=function(t){e[t]=Hs.map(function(e){return function(e,t){return i("'".concat(e,"',").concat(t))}(t,e)})},n=0,r=Ns;n<r.length;n++){t(r[n])}return e}();r.appendChild(a);for(var c=0;c<Hs.length;c++)s[Hs[c]]=l[c].offsetWidth,o[Hs[c]]=l[c].offsetHeight;return Ns.filter(function(e){return function(e){return Hs.some(function(t,n){return e[n].offsetWidth!==s[t]||e[n].offsetHeight!==o[t]})}(u[e])})})},domBlockers:function(e){var t=(void 0===e?{}:e).debug;return as(this,0,void 0,function(){var e,n,r,a,s;return ss(this,function(o){switch(o.label){case 0:return Ls()||Ts()?(e=function(){var e=atob;return{abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',e("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",e("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",e("LnNwb25zb3JpdA=="),".ylamainos",e("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",e("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",e("LmhlYWRlci1ibG9ja2VkLWFk"),e("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",e("I2FkXzMwMFgyNTA="),e("I2Jhbm5lcmZsb2F0MjI="),e("I2NhbXBhaWduLWJhbm5lcg=="),e("I0FkLUNvbnRlbnQ=")],adGuardChinese:[e("LlppX2FkX2FfSA=="),e("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",e("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),e("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",e("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",e("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",e("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),e("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),e("LmFkZ29vZ2xl"),e("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[e("YW1wLWF1dG8tYWRz"),e("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",e("I2FkX2ludmlld19hcmVh")],adGuardRussian:[e("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),e("LnJlY2xhbWE="),'div[id^="smi2adblock"]',e("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[e("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),e("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",e("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),e("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),e("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",e("I3Jla2xhbWk="),e("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),e("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),e("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[e("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",e("LndpZGdldF9wb19hZHNfd2lkZ2V0"),e("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",e("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[e("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),e("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",e("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",e("I3Jla2xhbW5pLWJveA=="),e("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",e("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[e("I2FkdmVydGVudGll"),e("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",e("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",e("LnNwb25zb3JsaW5rZ3J1ZW4="),e("I3dlcmJ1bmdza3k="),e("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),e("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[e("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",e("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[e("LnJla2xhbW9zX3RhcnBhcw=="),e("LnJla2xhbW9zX251b3JvZG9z"),e("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),e("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),e("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[e("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[e("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),e("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",e("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[e("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),e("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),e("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",e("LmFkX19tYWlu"),e("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[e("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[e("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),e("I2xpdmVyZUFkV3JhcHBlcg=="),e("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),e("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[e("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",e("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),e("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),e("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[e("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),e("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),e("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",e("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),e("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),e("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),e("ZGl2I3NrYXBpZWNfYWQ=")],ro:[e("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),e("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[e("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),e("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),e("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",e("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),e("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",e("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]}}(),n=Object.keys(e),[4,Ws((s=[]).concat.apply(s,n.map(function(t){return e[t]})))]):[2,void 0];case 1:return r=o.sent(),t&&function(e,t){for(var n="DOM blockers debug:\n```",r=0,a=Object.keys(e);r<a.length;r++){var s=a[r];n+="\n".concat(s,":");for(var o=0,i=e[s];o<i.length;o++){var l=i[o];n+="\n ".concat(t[l]?"🚫":"➡️"," ").concat(l)}}console.log("".concat(n,"\n```"))}(e,r),(a=n.filter(function(t){var n=e[t];return xs(n.map(function(e){return r[e]}))>.6*n.length})).sort(),[2,a]}})})},fontPreferences:function(){return e=function(e,t){for(var n={},r={},a=0,s=Object.keys(Qs);a<s.length;a++){var o=s[a],i=Qs[o],l=i[0],u=void 0===l?{}:l,c=i[1],d=void 0===c?"mmMwWLliI0fiflO&1":c,p=e.createElement("span");p.textContent=d,p.style.whiteSpace="nowrap";for(var m=0,f=Object.keys(u);m<f.length;m++){var y=f[m],h=u[y];void 0!==h&&(p.style[y]=h)}n[o]=p,t.appendChild(e.createElement("br")),t.appendChild(p)}for(var g=0,b=Object.keys(Qs);g<b.length;g++)r[o=b[g]]=n[o].getBoundingClientRect().width;return r},void 0===t&&(t=4e3),$s(function(n,r){var a=r.document,s=a.body,o=s.style;o.width="".concat(t,"px"),o.webkitTextSizeAdjust=o.textSizeAdjust="none",As()?s.style.zoom="".concat(1/r.devicePixelRatio):Ls()&&(s.style.zoom="reset");var i=a.createElement("div");return i.textContent=os([],Array(t/20|0)).map(function(){return"word"}).join(" "),s.appendChild(i),e(a,s)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">');var e,t},audio:function(){var e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(Ls()&&!Es()&&!function(){var e=window;return xs(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}())return-1;var n=new t(1,5e3,44100),r=n.createOscillator();r.type="triangle",r.frequency.value=1e4;var a=n.createDynamicsCompressor();a.threshold.value=-50,a.knee.value=40,a.ratio.value=12,a.attack.value=0,a.release.value=.25,r.connect(a),a.connect(n.destination),r.start(0);var s=function(e){var t=3,n=500,r=500,a=5e3,s=function(){},o=new Promise(function(o,i){var l=!1,u=0,c=0;e.oncomplete=function(e){return o(e.renderedBuffer)};var d=function(){setTimeout(function(){return i(Ms("timeout"))},Math.min(r,c+a-Date.now()))},p=function(){try{var r=e.startRendering();switch(us(r)&&ps(r),e.state){case"running":c=Date.now(),l&&d();break;case"suspended":document.hidden||u++,l&&u>=t?i(Ms("suspended")):setTimeout(p,n)}}catch(a){i(a)}};p(),s=function(){l||(l=!0,c>0&&d())}});return[o,s]}(n),o=s[0],i=s[1],l=o.then(function(e){return function(e){for(var t=0,n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}(e.getChannelData(0).subarray(4500))},function(e){if("timeout"===e.name||"suspended"===e.name)return-3;throw e});return ps(l),function(){return i(),l}},screenFrame:function(){var e=this,t=js();return function(){return as(e,0,void 0,function(){var e,n;return ss(this,function(r){switch(r.label){case 0:return[4,t()];case 1:return e=r.sent(),[2,[(n=function(e){return null===e?null:Ss(e,10)})(e[0]),n(e[1]),n(e[2]),n(e[3])]]}})})}},osCpu:function(){return navigator.oscpu},languages:function(){var e=navigator,t=[],n=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(void 0!==n&&t.push([n]),Array.isArray(e.languages))As()&&function(){var e=window;return xs([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3}()||t.push(e.languages);else if("string"==typeof e.languages){var r=e.languages;r&&t.push(r.split(","))}return t},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return ks(ws(navigator.deviceMemory),void 0)},screenResolution:function(){var e=screen,t=function(e){return ks(vs(e),null)},n=[t(e.width),t(e.height)];return n.sort().reverse(),n},hardwareConcurrency:function(){return ks(vs(navigator.hardwareConcurrency),void 0)},timezone:function(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t){var n=(new t).resolvedOptions().timeZone;if(n)return n}var r=-function(){var e=(new Date).getFullYear();return Math.max(ws(new Date(e,0,1).getTimezoneOffset()),ws(new Date(e,6,1).getTimezoneOffset()))}();return"UTC".concat(r>=0?"+":"").concat(Math.abs(r))},sessionStorage:function(){try{return!!window.sessionStorage}catch{return!0}},localStorage:function(){try{return!!window.localStorage}catch{return!0}},indexedDB:function(){if(!(Bs()||(e=window,t=navigator,xs(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!Bs())))try{return!!window.indexedDB}catch{return!0}var e,t},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){var e=navigator.platform;return"MacIntel"===e&&Ls()&&!Es()?function(){if("iPad"===navigator.platform)return!0;var e=screen,t=e.width/e.height;return xs(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}()?"iPad":"iPhone":e},plugins:function(){var e=navigator.plugins;if(e){for(var t=[],n=0;n<e.length;++n){var r=e[n];if(r){for(var a=[],s=0;s<r.length;++s){var o=r[s];a.push({type:o.type,suffixes:o.suffixes})}t.push({name:r.name,description:r.description,mimeTypes:a})}}return t}},canvas:function(){var e,t,n=!1,r=function(){var e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}(),a=r[0],s=r[1];if(function(e,t){return!(!t||!e.toDataURL)}(a,s)){n=function(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}(s),function(e,t){e.width=240,e.height=60,t.textBaseline="alphabetic",t.fillStyle="#f60",t.fillRect(100,1,62,20),t.fillStyle="#069",t.font='11pt "Times New Roman"';var n="Cwm fjordbank gly ".concat("😃");t.fillText(n,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(n,4,45)}(a,s);var o=Os(a);o!==Os(a)?e=t="unstable":(t=o,function(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(var n=0,r=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];n<r.length;n++){var a=r[n],s=a[0],o=a[1],i=a[2];t.fillStyle=s,t.beginPath(),t.arc(o,i,40,0,2*Math.PI,!0),t.closePath(),t.fill()}t.fillStyle="#f9c",t.arc(60,60,60,0,2*Math.PI,!0),t.arc(60,60,20,0,2*Math.PI,!0),t.fill("evenodd")}(a,s),e=Os(a))}else e=t="";return{winding:n,geometry:e,text:t}},touchSupport:function(){var e,t=navigator,n=0;void 0!==t.maxTouchPoints?n=vs(t.maxTouchPoints):void 0!==t.msMaxTouchPoints&&(n=t.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch{e=!1}return{maxTouchPoints:n,touchEvent:e,touchStart:"ontouchstart"in window}},vendor:function(){return navigator.vendor||""},vendorFlavors:function(){for(var e=[],t=0,n=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];t<n.length;t++){var r=n[t],a=window[r];a&&"object"==typeof a&&e.push(r)}return e.sort()},cookiesEnabled:function(){var e=document;try{e.cookie="cookietest=1; SameSite=Strict;";var t=-1!==e.cookie.indexOf("cookietest=");return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch{return!1}},colorGamut:function(){for(var e=0,t=["rec2020","p3","srgb"];e<t.length;e++){var n=t[e];if(matchMedia("(color-gamut: ".concat(n,")")).matches)return n}},invertedColors:function(){return!!Vs("inverted")||!Vs("none")&&void 0},forcedColors:function(){return!!Xs("active")||!Xs("none")&&void 0},monochrome:function(){if(matchMedia("(min-monochrome: 0)").matches){for(var e=0;e<=100;++e)if(matchMedia("(max-monochrome: ".concat(e,")")).matches)return e;throw new Error("Too high value")}},contrast:function(){return Gs("no-preference")?0:Gs("high")||Gs("more")?1:Gs("low")||Gs("less")?-1:Gs("forced")?10:void 0},reducedMotion:function(){return!!Zs("reduce")||!Zs("no-preference")&&void 0},hdr:function(){return!!Ks("high")||!Ks("standard")&&void 0},math:function(){var e,t=Js.acos||Ys,n=Js.acosh||Ys,r=Js.asin||Ys,a=Js.asinh||Ys,s=Js.atanh||Ys,o=Js.atan||Ys,i=Js.sin||Ys,l=Js.sinh||Ys,u=Js.cos||Ys,c=Js.cosh||Ys,d=Js.tan||Ys,p=Js.tanh||Ys,m=Js.exp||Ys,f=Js.expm1||Ys,y=Js.log1p||Ys;return{acos:t(.12312423423423424),acosh:n(1e308),acoshPf:(e=1e154,Js.log(e+Js.sqrt(e*e-1))),asin:r(.12312423423423424),asinh:a(1),asinhPf:function(e){return Js.log(e+Js.sqrt(e*e+1))}(1),atanh:s(.5),atanhPf:function(e){return Js.log((1+e)/(1-e))/2}(.5),atan:o(.5),sin:i(-1e300),sinh:l(1),sinhPf:function(e){return Js.exp(e)-1/Js.exp(e)/2}(1),cos:u(10.000000000123),cosh:c(1),coshPf:function(e){return(Js.exp(e)+1/Js.exp(e))/2}(1),tan:d(-1e300),tanh:p(1),tanhPf:function(e){return(Js.exp(2*e)-1)/(Js.exp(2*e)+1)}(1),exp:m(1),expm1:f(1),expm1Pf:function(e){return Js.exp(e)-1}(1),log1p:y(10),log1pPf:function(e){return Js.log(1+e)}(10),powPI:function(e){return Js.pow(Js.PI,e)}(-100)}},videoCard:function(){var e,t=document.createElement("canvas"),n=null!==(e=t.getContext("webgl"))&&void 0!==e?e:t.getContext("experimental-webgl");if(n&&"getExtension"in n){var r=n.getExtension("WEBGL_debug_renderer_info");if(r)return{vendor:(n.getParameter(r.UNMASKED_VENDOR_WEBGL)||"").toString(),renderer:(n.getParameter(r.UNMASKED_RENDERER_WEBGL)||"").toString()}}},pdfViewerEnabled:function(){return navigator.pdfViewerEnabled},architecture:function(){var e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]}};function to(e){var t=function(e){if(Ts())return.4;if(Ls())return Es()?.5:.3;var t=e.platform.value||"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}(e),n=function(e){return Ss(.99+.01*e,1e-4)}(t);return{score:t,comment:"$ if upgrade to Pro: https://fpjs.dev/pro".replace(/\$/g,"".concat(n))}}function no(e){return JSON.stringify(e,function(e,t){return t instanceof Error?function(e){var t;return rs({name:e.name,message:e.message,stack:null===(t=e.stack)||void 0===t?void 0:t.split("\n")},e)}(t):t},2)}function ro(e){return function(e,t){t=t||0;var n,r=(e=e||"").length%16,a=e.length-r,s=[0,t],o=[0,t],i=[0,0],l=[0,0],u=[2277735313,289559509],c=[1291169091,658871167];for(n=0;n<a;n+=16)i=[255&e.charCodeAt(n+4)|(255&e.charCodeAt(n+5))<<8|(255&e.charCodeAt(n+6))<<16|(255&e.charCodeAt(n+7))<<24,255&e.charCodeAt(n)|(255&e.charCodeAt(n+1))<<8|(255&e.charCodeAt(n+2))<<16|(255&e.charCodeAt(n+3))<<24],l=[255&e.charCodeAt(n+12)|(255&e.charCodeAt(n+13))<<8|(255&e.charCodeAt(n+14))<<16|(255&e.charCodeAt(n+15))<<24,255&e.charCodeAt(n+8)|(255&e.charCodeAt(n+9))<<8|(255&e.charCodeAt(n+10))<<16|(255&e.charCodeAt(n+11))<<24],i=ys(i=fs(i,u),31),s=ms(s=ys(s=gs(s,i=fs(i,c)),27),o),s=ms(fs(s,[0,5]),[0,1390208809]),l=ys(l=fs(l,c),33),o=ms(o=ys(o=gs(o,l=fs(l,u)),31),s),o=ms(fs(o,[0,5]),[0,944331445]);switch(i=[0,0],l=[0,0],r){case 15:l=gs(l,hs([0,e.charCodeAt(n+14)],48));case 14:l=gs(l,hs([0,e.charCodeAt(n+13)],40));case 13:l=gs(l,hs([0,e.charCodeAt(n+12)],32));case 12:l=gs(l,hs([0,e.charCodeAt(n+11)],24));case 11:l=gs(l,hs([0,e.charCodeAt(n+10)],16));case 10:l=gs(l,hs([0,e.charCodeAt(n+9)],8));case 9:l=fs(l=gs(l,[0,e.charCodeAt(n+8)]),c),o=gs(o,l=fs(l=ys(l,33),u));case 8:i=gs(i,hs([0,e.charCodeAt(n+7)],56));case 7:i=gs(i,hs([0,e.charCodeAt(n+6)],48));case 6:i=gs(i,hs([0,e.charCodeAt(n+5)],40));case 5:i=gs(i,hs([0,e.charCodeAt(n+4)],32));case 4:i=gs(i,hs([0,e.charCodeAt(n+3)],24));case 3:i=gs(i,hs([0,e.charCodeAt(n+2)],16));case 2:i=gs(i,hs([0,e.charCodeAt(n+1)],8));case 1:i=fs(i=gs(i,[0,e.charCodeAt(n)]),u),s=gs(s,i=fs(i=ys(i,31),c))}return s=ms(s=gs(s,[0,e.length]),o=gs(o,[0,e.length])),o=ms(o,s),s=ms(s=bs(s),o=bs(o)),o=ms(o,s),("00000000"+(s[0]>>>0).toString(16)).slice(-8)+("00000000"+(s[1]>>>0).toString(16)).slice(-8)+("00000000"+(o[0]>>>0).toString(16)).slice(-8)+("00000000"+(o[1]>>>0).toString(16)).slice(-8)}(function(e){for(var t="",n=0,r=Object.keys(e).sort();n<r.length;n++){var a=r[n],s=e[a],o=s.error?"error":JSON.stringify(s.value);t+="".concat(t?"|":"").concat(a.replace(/([:|\\])/g,"\\$1"),":").concat(o)}return t}(e))}function ao(e){return void 0===e&&(e=50),function(e,t){void 0===t&&(t=1/0);var n=window.requestIdleCallback;return n?new Promise(function(e){return n.call(window,function(){return e()},{timeout:t})}):ls(Math.min(e,t))}(e,2*e)}function so(e,t){var n=Date.now();return{get:function(r){return as(this,0,void 0,function(){var a,s,o;return ss(this,function(i){switch(i.label){case 0:return a=Date.now(),[4,e()];case 1:return s=i.sent(),o=function(e){var t,n=to(e);return{get visitorId(){return void 0===t&&(t=ro(this.components)),t},set visitorId(e){t=e},confidence:n,components:e,version:is}}(s),(t||null!=r&&r.debug)&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(o.version,"\nuserAgent: ").concat(navigator.userAgent,"\ntimeBetweenLoadAndGet: ").concat(a-n,"\nvisitorId: ").concat(o.visitorId,"\ncomponents: ").concat(no(s),"\n```")),[2,o]}})})}}}var oo={load:function(e){var t=void 0===e?{}:e,n=t.delayFallback,r=t.debug,a=t.monitoring,s=void 0===a||a;return as(this,0,void 0,function(){var e;return ss(this,function(a){switch(a.label){case 0:return s&&function(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var e=new XMLHttpRequest;e.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat(is,"/npm-monitoring"),!0),e.send()}catch(t){console.error(t)}}(),[4,ao(n)];case 1:return a.sent(),e=function(e){return Cs(eo,e,[])}({debug:r}),[2,so(e,r)]}})})},hashComponents:ro,componentsToDebugString:no};async function io(){try{const e="object"==typeof Cypress,t="object"==typeof process&&"test"===ns;return e||t?"a-mock-visitor-id":(await(await oo.load()).get()).visitorId}catch(e){return console.error(e),null}}async function lo(){return new Promise(e=>{window.requestIdleCallback?requestIdleCallback(async()=>{const t=await io();e(t)},{timeout:200}):setTimeout(async()=>{const t=await io();e(t)},200)})}async function uo({env:e,kountAccountId:t,kountSessionId:n}){return new Promise((r,a)=>{const s=(({env:e,kountAccountId:t,kountSessionId:n})=>{if(null===t)throw new Error("Kount account ID is required");const r=(e=>"production"===e)(e)?"https://ssl.kaptcha.com":"https://tst.kaptcha.com",a=new URL(`${r}/collect/sdk`);a.searchParams.append("m",t),n&&a.searchParams.append("m",n);const s=document.createElement("script");return s.setAttribute("class","kaxsdc"),s.setAttribute("data-event","load"),s.setAttribute("type","text/javascript"),s.setAttribute("src",a.href),document.body.append(s),s})({env:e,kountAccountId:t,kountSessionId:n});s.onload=()=>{const e=new ka.ClientSDK;e.setupCallback({"collect-begin":e=>{const{MercSessId:t}=e;r(t)}}),e.autoLoadEvents()},s.onerror=()=>{a(new Error("Error attempting to mount Kount script"))}})}const co=()=>{const e=document.createElement("script");return e.src="https://cdn.rebilly.com/risk-data-collector/@latest/google-adsense.js",new Promise(t=>{e.onload=()=>{t(null===document.getElementById("fj2xFkdsoQIQna"))},e.onerror=()=>t(!0),document.head.appendChild(e)}).catch(()=>!0)};async function po({env:e=null,kountAccountId:t=null,kountSessionId:n=null}={env:null,kountAccountId:null}){return async function({env:e=null,kountAccountId:t=null,kountSessionId:n=null}){const{colorDepth:r,height:a,width:s}=screen||{},{javaEnabled:o,language:i}=navigator||{};let l,u=null,c=null;try{[c,u,l]=await Promise.all([co(),lo(),t?uo({env:e,kountAccountId:t,kountSessionId:n}):void 0])}catch(d){console.error(d)}return{riskMetadata:{fingerprint:u||null,extraData:{kountFraudSessionId:l||null},browserData:{colorDepth:r||null,isJavaEnabled:o?o.call(navigator):null,language:i||null,screenHeight:a||null,screenWidth:s||null,timeZoneOffset:(new Date).getTimezoneOffset(),isAdBlockEnabled:c}}}}({env:e,kountAccountId:t,kountSessionId:n})}function mo(){var e;const t={expressMethods:[],methods:[]};let n=Ge.data.readyToPay;return(null==(e=Ge.options)?void 0:e.payout)&&(n=Ge.data.readyToPayout),null==n||n.forEach(e=>{e.metadata.isExpressMethod?t.expressMethods.push(e):t.methods.push(e)}),t}class fo extends pt{}function yo(e){return null==e?null:"string"==typeof e?Number.isNaN(parseFloat(e))?null:parseFloat(e):e}class ho{constructor({maxQuantity:e=null,price:t=null}={}){this.maxQuantity=e||Number.MAX_SAFE_INTEGER,this.price=yo(t)}}const go=class e{constructor(t={}){switch(this.formula=t.formula??e.Formulas.fixedFee,t.formula){case e.Formulas.stairstep:case e.Formulas.tiered:case e.Formulas.volume:if(null==t.brackets)throw new Error("Invalid brackets.");this.brackets=t.brackets.map(e=>new ho(e));break;case e.Formulas.flatRate:this.price=yo(t.price)??0,this.maxQuantity=t.maxQuantity??null;break;case e.Formulas.fixedFee:default:this.price=yo(t.price)??0}}get isSimple(){return Object.values(e.SimpleFormulas).includes(this.formula)}get isBracket(){return Object.values(e.BracketFormulas).includes(this.formula)}toPayload(){return{...this,isSimple:this.isSimple,isBracket:this.isBracket}}};go.SimpleFormulas={fixedFee:"fixed-fee",flatRate:"flat-rate"},go.BracketFormulas={stairstep:"stairstep",tiered:"tiered",volume:"volume"},go.Formulas={...go.SimpleFormulas,...go.BracketFormulas};let bo=go;class vo extends pt{constructor(e={}){super(e),this.pricing=new bo(e.pricing||{})}toPayload(){return{...this,pricing:this.pricing.toPayload()}}}const wo=[{apiName:"ach",name:"ACH",landscapeLogo:null,portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/BankAccount.svg",summary:"ACH is a network used for processing transactions across the United States.",description:"ACH is a network used for processing transactions across the United States.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["USD"]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[{description:"Customer selects ACH debit at checkout"},{description:"Enters bank details"},{description:"Recieves payment initiation confirmaiton"}],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/ach"}]},{apiName:"AdvCash",name:"AdvCash",landscapeLogo:null,portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/AdvCash.svg",summary:"AdvCash is an online payment system offering prepaid cards for individuals and\nonline businesses.\n",description:"AdvCash is an online payment system offering prepaid cards for individuals and\nonline businesses.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Credit card",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["USD","EUR","RUB","UAH","KZT","BRL","TRY"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/AdvCash"}]},{apiName:"Affirm",name:"Affirm",landscapeLogo:null,portraitLogo:null,summary:"Affirm is an American buy now, pay later solution allowing shoppers in the US, Canada, and the UK to pay for their purchases in installments.\n",description:"Affirm is an American buy now, pay later solution allowing shoppers in the US, Canada, and the UK to pay for their purchases in installments.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Affirm"}]},{apiName:"Afterpay",name:"Afterpay",landscapeLogo:null,portraitLogo:null,summary:"Afterpay is a popular buy now, pay later service in Australia, Canada, and New Zealand.\n",description:"Afterpay is a popular buy now, pay later service in Australia, Canada, and New Zealand.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Afterpay"}]},{apiName:"Aircash",name:"Aircash",landscapeLogo:null,portraitLogo:null,summary:"Aircash is a mobile payment wallet that allows customers to pay for goods and services using their mobile phone.\n",description:"Aircash is a mobile payment wallet that allows customers to pay for goods and services using their mobile phone.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["EUR"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Aircash"}]},{apiName:"Airpay",name:"Airpay",landscapeLogo:null,portraitLogo:null,summary:"Airpay is an e-wallet that elevates you to an easier and more convenient\nlifestyle with all in one services.\n",description:"Airpay is an e-wallet that elevates you to an easier and more convenient\nlifestyle with all in one services.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!0,refunds:!0,disputes:!1,ux:[{description:"Customer selects Airpay at checkout"},{description:"Customer is redirected to Rebilly hosted page"},{description:"customer is redirected to AirPay to complete payment"}],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Airpay"}]},{apiName:"Alfa-click",name:"Alfa-click",landscapeLogo:null,portraitLogo:null,summary:"Alfa-click combines digital and physical payment experiences and is among the\nhighest ranking Russian private banks.\n",description:"Alfa-click combines digital and physical payment experiences and is among the\nhighest ranking Russian private banks.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Credit card",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["USD","EUR","GBP","CHF"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Alfa-click"}]},{apiName:"Alipay",name:"Alipay",landscapeLogo:null,portraitLogo:null,summary:"Alipay is the most popular e-wallet and payment platform in Asia. Millions of\ntransactions are processed each day in China.\n",description:"Alipay is the most popular e-wallet and payment platform in Asia. Millions of\ntransactions are processed each day in China.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["USD","AUD","CAD","CNY","EUR","GBP","HKD","JPY","MYR","NZD"]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Alipay"}]},{apiName:"AmazonPay",name:"AmazonPay",landscapeLogo:null,portraitLogo:null,summary:"The AmazonPay method.",description:"The AmazonPay method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/AmazonPay"}]},{apiName:"Apple Pay",name:"Apple Pay",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Applepay.svg",portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/Applepay.svg",summary:"Apple Pay is a digital wallet that also allows users to make payments in\nperson using a one-step payment process.\n",description:"Apple Pay is a digital wallet that also allows users to make payments in\nperson using a one-step payment process.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!1,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!1,refunds:!0,disputes:!0,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Apple%20Pay"}]},{apiName:"AstroPay Card",name:"AstroPay Card",landscapeLogo:null,portraitLogo:null,summary:"AstroPay Card allows consumers to purchase online at international websites,\nusing the most effective local payment methods in local currency.\n",description:"AstroPay Card allows consumers to purchase online at international websites,\nusing the most effective local payment methods in local currency.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Credit card",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/AstroPay%20Card"}]},{apiName:"AstroPay-GO",name:"AstroPay Go",landscapeLogo:null,portraitLogo:null,summary:"AstroPay allows consumers to purchase online at international websites, using\nthe most effective local payment methods in local currency.\n",description:"AstroPay allows consumers to purchase online at international websites, using\nthe most effective local payment methods in local currency.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/AstroPay-GO"}]},{apiName:"BVNK",name:"BVNK",landscapeLogo:null,portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/BVNK.svg",summary:"BVNK provides stablecoin payments infrastructure, unifying banks and blockchains in a single API platform, to accelerate global money movement.",description:"BVNK provides stablecoin payments infrastructure, unifying banks and blockchains in a single API platform, to accelerate global money movement.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Cryptocurrency",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/BVNK"}]},{apiName:"Baloto",name:"Baloto",landscapeLogo:null,portraitLogo:null,summary:"Baloto is Colombia's largest lottery and payment service and is used by 80% of\nthe Colombian population.\n",description:"Baloto is Colombia's largest lottery and payment service and is used by 80% of\nthe Colombian population.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Baloto"}]},{apiName:"Bancontact-mobile",name:"Bancontact-mobile",landscapeLogo:null,portraitLogo:null,summary:"Bancontact mobile allows the shopper to complete a payment with the mobile\napp. installed on their device.\n",description:"Bancontact mobile allows the shopper to complete a payment with the mobile\napp. installed on their device.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["EUR"]},recurringPayments:!0,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Bancontact-mobile"}]},{apiName:"Bancontact",name:"Bancontact",landscapeLogo:null,portraitLogo:null,summary:"Bancontact is a payment system offered by more than 80% of online Belgian\nbusinesses and functions like a regular card payment.\n",description:"Bancontact is a payment system offered by more than 80% of online Belgian\nbusinesses and functions like a regular card payment.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Credit card",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["EUR"]},recurringPayments:!0,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Bancontact"}]},{apiName:"BankReferenced",name:"BankReferenced",landscapeLogo:null,portraitLogo:null,summary:"The BankReferenced method.",description:"The BankReferenced method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/BankReferenced"}]},{apiName:"BankSEND",name:"BankSEND",landscapeLogo:null,portraitLogo:null,summary:"With the BankSEND platform, customers pay with their online banking data using direct bank transfer.\n",description:"With the BankSEND platform, customers pay with their online banking data using direct bank transfer.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["CAD"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/BankSEND"}]},{apiName:"bank-transfer",name:"Bank Transfer",landscapeLogo:null,portraitLogo:null,summary:"A bank transfer is the direct, electronic transfer of funds from one bank\naccount to another.\n",description:"A bank transfer is the direct, electronic transfer of funds from one bank\naccount to another.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[{description:"Customer selects ACH debit at checkout"},{description:"Enters bank details"},{description:"Recieves payment initiation confirmaiton"}],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/bank-transfer"}]},{apiName:"Beeline",name:"Beeline",landscapeLogo:null,portraitLogo:null,summary:"Beeline offers a universal payment card and a mobile prepaid network system\nthat allows money transfers between Beeline subscribers.\n",description:"Beeline offers a universal payment card and a mobile prepaid network system\nthat allows money transfers between Beeline subscribers.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet + Card",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["AMD"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Beeline"}]},{apiName:"Belfius-direct-net",name:"Belfius Direct Net",landscapeLogo:null,portraitLogo:null,summary:"Belfius is one of the leading online private banks in Belgium. They are used\nby 1 in 3 Belgians and have over 3.6 million customers.\n",description:"Belfius is one of the leading online private banks in Belgium. They are used\nby 1 in 3 Belgians and have over 3.6 million customers.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Belfius-direct-net"}]},{apiName:"bitcoin",name:"Bitcoin",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Bitcoin.svg",portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/Bitcoin.svg",summary:"Bitcoin payment method provides a borderless payment network and a seamless\ntransfer of bitcoins from anywhere in the world through any online devices.\n",description:"Bitcoin payment method provides a borderless payment network and a seamless\ntransfer of bitcoins from anywhere in the world through any online devices.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Cryptocurrency",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/bitcoin"}]},{apiName:"Bizum",name:"Bizum",landscapeLogo:null,portraitLogo:null,summary:"Bizum is the immediate, fast, convenient and universal mobile payment solution promoted by Spanish banks.",description:"Bizum is the immediate, fast, convenient and universal mobile payment solution promoted by Spanish banks.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Bizum"}]},{apiName:"Blik",name:"Blik",landscapeLogo:null,portraitLogo:null,summary:"Blik is a Polish payment system that allows users to make instant payments and\nwithdraw cash using a mobile banking app.\n",description:"Blik is a Polish payment system that allows users to make instant payments and\nwithdraw cash using a mobile banking app.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["PLN"]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Blik"}]},{apiName:"Boleto",name:"Boleto",landscapeLogo:null,portraitLogo:null,summary:"Boleto is Brazil's most popular cash-based payment method. It's the only\npayment option available for 35% of Brazillian consumers without a bank\naccount.\n",description:"Boleto is Brazil's most popular cash-based payment method. It's the only\npayment option available for 35% of Brazillian consumers without a bank\naccount.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Voucher",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Boleto"}]},{apiName:"CASHlib",name:"CASHlib",landscapeLogo:null,portraitLogo:null,summary:"CASHlib is a voucher based payment method that allows you to make online\npayments without the need of a credit or debit card.\n",description:"CASHlib is a voucher based payment method that allows you to make online\npayments without the need of a credit or debit card.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Voucher",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["EUR"]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/CASHlib"}]},{apiName:"CCAvenue",name:"CCAvenue",landscapeLogo:"https://app.rebilly.com/static/payment-methods/portrait/PaymentCard.svg",portraitLogo:null,summary:"CCAvenue Checkout offers a smooth, fast and frictionless buying experience.\n",description:"CCAvenue Checkout offers a smooth, fast and frictionless buying experience.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!0,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/CCAvenue"}]},{apiName:"CODVoucher",name:"CODVoucher",landscapeLogo:null,portraitLogo:null,summary:"CODVoucher offers a digital voucher that the customer can scan at an\nauthorized location and pay with cash.\n",description:"CODVoucher offers a digital voucher that the customer can scan at an\nauthorized location and pay with cash.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Voucher",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/CODVoucher"}]},{apiName:"cash",name:"Cash",landscapeLogo:null,portraitLogo:null,summary:"Cash is money in a physical form like coins or notes.",description:"Cash is money in a physical form like coins or notes.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Cash",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!1,refunds:!0,disputes:!0,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/cash"}]},{apiName:"cash-deposit",name:"Cash Deposit",landscapeLogo:null,portraitLogo:null,summary:"A cash deposit is money put into a bank account in the form of cash, checks,\nor bank transfers.\n",description:"A cash deposit is money put into a bank account in the form of cash, checks,\nor bank transfers.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/cash-deposit"}]},{apiName:"CashToCode",name:"CashToCode",landscapeLogo:null,portraitLogo:null,summary:"CashToCode is an instant cash payment service that does not require a bank\naccount or credit card.\n",description:"CashToCode is an instant cash payment service that does not require a bank\naccount or credit card.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Voucher",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["EUR"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/CashToCode"}]},{apiName:"Cashterminal",name:"Cash Terminal",landscapeLogo:null,portraitLogo:null,summary:"A Bulgarian based service, which provides the ability to pay in cash and in real time.\n",description:"A Bulgarian based service, which provides the ability to pay in cash and in real time.\n",countries:{mode:"subset",values:["BG"]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["BGN"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Cashterminal"}]},{apiName:"check",name:"Check",landscapeLogo:null,portraitLogo:null,summary:"Checks are physical documents that direct a bank to pay a specific amount of\nmoney to the recipient of the check.\n",description:"Checks are physical documents that direct a bank to pay a specific amount of\nmoney to the recipient of the check.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Check",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/check"}]},{apiName:"China UnionPay",name:"China UnionPay",landscapeLogo:null,portraitLogo:null,summary:"China UnionPay is the largest card scheme in China while also offering mobile\nand online payments. China UnionPay has over 7 billion cards in use and is\nconnected to all the ATMs across the country.\n",description:"China UnionPay is the largest card scheme in China while also offering mobile\nand online payments. China UnionPay has over 7 billion cards in use and is\nconnected to all the ATMs across the country.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!1,isSingleUse:!1,type:"Wallet + Card",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/China%20UnionPay"}]},{apiName:"Clearpay",name:"Clearpay",landscapeLogo:null,portraitLogo:null,summary:"Clearpay is a popular buy now, pay later service in the United Kingdom.\n",description:"Clearpay is a popular buy now, pay later service in the United Kingdom.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Clearpay"}]},{apiName:"Conekta-oxxo",name:"Conekta OXXO",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/ConektaOxxo.svg",portraitLogo:null,summary:"Conekta OXXO Pay allows customers to purchase online or instore with a\ncash-based voucher. 30% of transactions in Mexico are with OXXO and they offer\nreal-time payment confirmation.\n",description:"Conekta OXXO Pay allows customers to purchase online or instore with a\ncash-based voucher. 30% of transactions in Mexico are with OXXO and they offer\nreal-time payment confirmation.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Voucher",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["MXN"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Conekta-oxxo"}]},{apiName:"Conekta-spei",name:"Conekta SPEI",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/ConektaOxxo.svg",portraitLogo:null,summary:"Conekta SPEI allows its customers to send and receive interbank electronic\ntransfers and obtain real-time payment confirmation in seconds.\n",description:"Conekta SPEI allows its customers to send and receive interbank electronic\ntransfers and obtain real-time payment confirmation in seconds.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["MXN"]},recurringPayments:!0,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Conekta-spei"}]},{apiName:"cryptocurrency",name:"Cryptocurrency",landscapeLogo:null,portraitLogo:null,summary:"Cryptocurrency is a decentralized, digital currency based on blockchain\ntechnology which makes it nearly impossible to counterfeit or double-spend.\n",description:"Cryptocurrency is a decentralized, digital currency based on blockchain\ntechnology which makes it nearly impossible to counterfeit or double-spend.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Cryptocurrency",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/cryptocurrency"}]},{apiName:"Cupon-de-pagos",name:"Cupon de Pagos",landscapeLogo:null,portraitLogo:null,summary:"The Cupon de Pagos method.",description:"The Cupon de Pagos method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Cupon-de-pagos"}]},{apiName:"CyberSource",name:"CyberSource",landscapeLogo:null,portraitLogo:null,summary:"CyberSource ia an e-commerce credit card payment system that allows customers\nto process online payments.\n",description:"CyberSource ia an e-commerce credit card payment system that allows customers\nto process online payments.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Credit card",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["USD","LBP"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/CyberSource"}]},{apiName:"Dimoco-pay-smart",name:"Dimoco pay smart",landscapeLogo:null,portraitLogo:null,summary:"The Dimoco pay smart method.\n",description:"The Dimoco pay smart method.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:null,relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Dimoco-pay-smart"}]},{apiName:"Directa24Card",name:"Directa24Card",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Directa24Card.svg",portraitLogo:null,summary:"Directa24 was formerly known as Astropay and specialized in Latin American local payment methods. They have expanded to include other emerging markets.\n",description:"Directa24 was formerly known as Astropay and specialized in Latin American local payment methods. They have expanded to include other emerging markets.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!0,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Directa24Card"}]},{apiName:"domestic-cards",name:"Domestic Cards",landscapeLogo:null,portraitLogo:null,summary:"The Domestic Cards method.",description:"The Domestic Cards method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/domestic-cards"}]},{apiName:"EPS",name:"EPS",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/EPS.svg",portraitLogo:null,summary:"EPS is an online transfer payment method accepted by 80% of all online\nbusinesses in Austria.\n",description:"EPS is an online transfer payment method accepted by 80% of all online\nbusinesses in Austria.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["EUR"]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/EPS"}]},{apiName:"e-wallet",name:"eWallet",landscapeLogo:null,portraitLogo:null,summary:"An e-Wallet is an electronic system that securely stores payment information\nthat allows for quick and easy digital transactions.\n",description:"An e-Wallet is an electronic system that securely stores payment information\nthat allows for quick and easy digital transactions.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/e-wallet"}]},{apiName:"eZeeWallet",name:"eZeeWallet",landscapeLogo:null,portraitLogo:null,summary:"eZeeWallet is a digital wallet that offers secure, customer-focused payment services that make paying\nand getting paid simple and hassle-free.\n",description:"eZeeWallet is a digital wallet that offers secure, customer-focused payment services that make paying\nand getting paid simple and hassle-free.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/eZeeWallet"}]},{apiName:"echeck",name:"eCheck",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Echeck.svg",portraitLogo:null,summary:"An eCheck is a digital version of a traditional paper check.",description:"An eCheck is a digital version of a traditional paper check.",countries:{mode:"unknown",values:[]},storefrontEnabled:!1,isSingleUse:!1,type:"Check",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/echeck"}]},{apiName:"ecoPayz",name:"ecoPayz",landscapeLogo:null,portraitLogo:null,summary:"ecoPAYZ is one of the oldest e-wallets and allows its customers to receive,\nsend, and spend money worldwide all from one online account.\n",description:"ecoPAYZ is one of the oldest e-wallets and allows its customers to receive,\nsend, and spend money worldwide all from one online account.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet + Card",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/ecoPayz"}]},{apiName:"ecoVoucher",name:"ecoVoucher",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Ecovoucher.svg",portraitLogo:null,summary:"ecoVoucher is offered by ecoPayz and is a prepaid payment method that allows\ncustomers to pay online securely.\n",description:"ecoVoucher is offered by ecoPayz and is a prepaid payment method that allows\ncustomers to pay online securely.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Voucher",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["USD"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/ecoVoucher"}]},{apiName:"Efecty",name:"Efecty",landscapeLogo:null,portraitLogo:null,summary:"Efecty is a Colombian-based offline cash payment voucher option. It is one of\nthe most popular payment methods in Colombia to pay utility bills and online\npurchases.\n",description:"Efecty is a Colombian-based offline cash payment voucher option. It is one of\nthe most popular payment methods in Colombia to pay utility bills and online\npurchases.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Voucher",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["COP"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Efecty"}]},{apiName:"Ethereum",name:"Ethereum",landscapeLogo:null,portraitLogo:null,summary:"Ethereum is a decentralizaed blockchain platform that offers open access to\ndigital money and data-friendly services. It is the second largest\ncryptocurrency in the market after Bitcoin.\n",description:"Ethereum is a decentralizaed blockchain platform that offers open access to\ndigital money and data-friendly services. It is the second largest\ncryptocurrency in the market after Bitcoin.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Cryptocurrency",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Ethereum"}]},{apiName:"FasterPay",name:"FasterPay",landscapeLogo:null,portraitLogo:null,summary:"The FasterPay method\n",description:"The FasterPay method\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:[],supportedCurrencies:{mode:"subset",values:["USD","EUR","GBP","CAD","DKK","NOK","SEK","CHF","CZK","HKD","PLN","SGD","NZD","HUF","JPY","AUD"]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/FasterPay"}]},{apiName:"Flexepin",name:"Flexepin",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Flexepin.svg",portraitLogo:null,summary:"Flexepin is owned and operated by FlexeWallet and their vouchers are issued\nunder an Australian Financial Services License.\n",description:"Flexepin is owned and operated by FlexeWallet and their vouchers are issued\nunder an Australian Financial Services License.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["USD"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Flexepin"}]},{apiName:"Giropay",name:"Giropay",landscapeLogo:null,portraitLogo:null,summary:"Giropay is an online payment method offered by more than 1,500 banks in\nGermany. Giropay uses real-time bank transfers and thier payments are 100%\nguaranteed.\n",description:"Giropay is an online payment method offered by more than 1,500 banks in\nGermany. Giropay uses real-time bank transfers and thier payments are 100%\nguaranteed.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["EUR"]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Giropay"}]},{apiName:"Google Pay",name:"Google Pay",landscapeLogo:null,portraitLogo:null,summary:"Google Pay enables customers to pay with any payment method that is saved to\ntheir Google account.\n",description:"Google Pay enables customers to pay with any payment method that is saved to\ntheir Google account.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!1,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!0,refunds:!0,disputes:!0,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Google%20Pay"}]},{apiName:"Gpaysafe",name:"Gpaysafe",landscapeLogo:null,portraitLogo:null,summary:"Gpaysafe allows merchants to do business globally with a single API solution.",description:"Gpaysafe allows merchants to do business globally with a single API solution.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Credit card",relevantBusinessModels:["B2B"],supportedCurrencies:{mode:"subset",values:["USD"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Gpaysafe"}]},{apiName:"iDEAL",name:"iDEAL",landscapeLogo:null,portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/iDEAL.svg",summary:"iDEAL allows customers to complete transactions online using their bank\ncredentials. It is the most popular payment method in the Netherlands with a\nuse of nearly 55%.\n",description:"iDEAL allows customers to complete transactions online using their bank\ncredentials. It is the most popular payment method in the Netherlands with a\nuse of nearly 55%.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["EUR"]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/iDEAL"}]},{apiName:"iDebit",name:"iDebit",landscapeLogo:null,portraitLogo:null,summary:"iDebit is an online banking based payment method made available to consumers\nin Canada, connecting them to secure, real-time payments without a credit\ncard.\n",description:"iDebit is an online banking based payment method made available to consumers\nin Canada, connecting them to secure, real-time payments without a credit\ncard.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["USD"]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/iDebit"}]},{apiName:"ING-homepay",name:"ING Homepay",landscapeLogo:null,portraitLogo:null,summary:"ING Homepay is an online payment method that allows payments over online\nbanking with the Belgian ING branch.\n",description:"ING Homepay is an online payment method that allows payments over online\nbanking with the Belgian ING branch.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["EUR"]},recurringPayments:!1,refunds:!0,disputes:!0,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/ING-homepay"}]},{apiName:"INOVAPAY-pin",name:"INOVAPAY Pin",landscapeLogo:null,portraitLogo:null,summary:"The INOVAPAY Pin method.",description:"The INOVAPAY Pin method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/INOVAPAY-pin"}]},{apiName:"INOVAPAY-wallet",name:"INOVAPAY Wallet",landscapeLogo:null,portraitLogo:null,summary:"INOVAPAY Wallet is an international e-money transfer service used to transfer\nmoney to and from merchants.\n",description:"INOVAPAY Wallet is an international e-money transfer service used to transfer\nmoney to and from merchants.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["USD"]},recurringPayments:!0,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/INOVAPAY-wallet"}]},{apiName:"InstaDebit",name:"InsataDebit",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Instadebit.svg",portraitLogo:null,summary:"The InstaDebit method.\n",description:"The InstaDebit method.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:null,relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/InstaDebit"}]},{apiName:"instant-bank-transfer",name:"Instant Bank Transfer",landscapeLogo:null,portraitLogo:null,summary:"Instant bank transfers allow consumers to make payments instantly. Both\nconsumers and merchants can receive and send funds immediately.\n",description:"Instant bank transfers allow consumers to make payments instantly. Both\nconsumers and merchants can receive and send funds immediately.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!0,refunds:!0,disputes:!0,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/instant-bank-transfer"}]},{apiName:"Instant Banking",name:"Instant Banking",landscapeLogo:null,portraitLogo:null,summary:"Instant Banking enables consumers to make payments to merchants using funds from their bank account.\n",description:"Instant Banking enables consumers to make payments to merchants using funds from their bank account.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Instant%20Banking"}]},{apiName:"InstantPayments",name:"Instant Payments",landscapeLogo:null,portraitLogo:null,summary:"Instant Payments enables consumers to make payments to merchants using funds from their bank account.\n",description:"Instant Payments enables consumers to make payments to merchants using funds from their bank account.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/InstantPayments"}]},{apiName:"Interac",name:"Interac",landscapeLogo:null,portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/Interac.svg",summary:"Interac is a Canadian debit card system that allows funds to be sent via its\ne-Transfer service.\n",description:"Interac is a Canadian debit card system that allows funds to be sent via its\ne-Transfer service.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Credit card",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["CAD"]},recurringPayments:!1,refunds:!0,disputes:!0,ux:[{description:"Customer selects Interac at checkout"},{description:"Customer selects their bank"},{description:"The available Interac methods are displayed (Interac Online, Interac\ne-Transfer, Interac e-Transfer Online), Customer selects Interac method -\nNEED TO TEST FURTHER\n"}],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Interac"}]},{apiName:"Interac-eTransfer",name:"Interac eTransfer",landscapeLogo:null,portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/Interac.svg",summary:"Interac eTransfer is a Canadian interbank network that allows merchants,\nfinancial institutions, and consumers to exchange electronic funds.\n",description:"Interac eTransfer is a Canadian interbank network that allows merchants,\nfinancial institutions, and consumers to exchange electronic funds.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[{description:"Customer selects Interac at checkout"},{description:"Customer selects their bank"},{description:"The available Interac methods are displayed (Interac Online, Interac\ne-Transfer, Interac e-Transfer Online), Customer selects Interac method\n"}],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Interac-eTransfer"}]},{apiName:"Interac-express-connect",name:"Interac Express Connect",landscapeLogo:null,portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/Interac.svg",summary:"Interac Express Connect is an e-wallet that allows payments via multiple\nchannels including paypal, Interac e-transfer, and credit cards.\n",description:"Interac Express Connect is an e-wallet that allows payments via multiple\nchannels including paypal, Interac e-transfer, and credit cards.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Interac-express-connect"}]},{apiName:"Interac-online",name:"Interac Online",landscapeLogo:null,portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/Interac.svg",summary:"Interac Online is a payment option that enables consumers to shop online and\npay for goods through the RBC online banking account.\n",description:"Interac Online is a payment option that enables consumers to shop online and\npay for goods through the RBC online banking account.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Interac-online"}]},{apiName:"invoice",name:"Invoice",landscapeLogo:null,portraitLogo:null,summary:"An invoice is a document issued by a merchant to a consumer relating to a sale\ntransaction and can inform products, prices, quantities, or services.\n",description:"An invoice is a document issued by a merchant to a consumer relating to a sale\ntransaction and can inform products, prices, quantities, or services.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Invoice",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/invoice"}]},{apiName:"Jeton",name:"Jeton",landscapeLogo:null,portraitLogo:null,summary:"Jeton is a digital wallet that allows users to exchange money, make secure\nmoney transfers and purchases online.\n",description:"Jeton is a digital wallet that allows users to exchange money, make secure\nmoney transfers and purchases online.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Jeton"}]},{apiName:"JetonCash",name:"JetonCash",landscapeLogo:null,portraitLogo:null,summary:"JetonCash is a digital wallet that allows users to exchange money, make secure\nmoney transfers and purchases online.\n",description:"JetonCash is a digital wallet that allows users to exchange money, make secure\nmoney transfers and purchases online.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/JetonCash"}]},{apiName:"jpay",name:"Jpay",landscapeLogo:null,portraitLogo:null,summary:"The Jpay method.",description:"The Jpay method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/jpay"}]},{apiName:"KNET",name:"KNET",landscapeLogo:null,portraitLogo:null,summary:"The KNET method.\n",description:"The KNET method.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:null,relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/KNET"}]},{apiName:"KakaoPay",name:"KakaoPay",landscapeLogo:null,portraitLogo:null,summary:"KakaoPay is a mobile payment and digital wallet service by Kakao and based in South Korea. It enables users make mobile payments and online transactions.\n",description:"KakaoPay is a mobile payment and digital wallet service by Kakao and based in South Korea. It enables users make mobile payments and online transactions.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!1,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/KakaoPay"}]},{apiName:"Khelocard",name:"Khelocard",landscapeLogo:null,portraitLogo:null,summary:"Khelo Card is a virtual prepaid card that allows for deposits and withdrawals\nand is accepted at partnered online sites around the world.\n",description:"Khelo Card is a virtual prepaid card that allows for deposits and withdrawals\nand is accepted at partnered online sites around the world.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Khelocard"}]},{apiName:"Klarna",name:"Klarna",landscapeLogo:null,portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/Klarna.png",summary:"Klarna offers flexible payment plans that provides payment solutions for 85\nmillion customers and over 200,000 merchants across 19 markets.\n",description:"Klarna offers flexible payment plans that provides payment solutions for 85\nmillion customers and over 200,000 merchants across 19 markets.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!0,type:"Buy Now Pay later",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!0,disputes:!0,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Klarna"}]},{apiName:"LPG-online",name:"LPG Online",landscapeLogo:null,portraitLogo:null,summary:"Latam Payment Group (LPG Online) specializes in the development of\ntechnological solutions for the operation of eCommerce in the Latin American\nmarket.\n",description:"Latam Payment Group (LPG Online) specializes in the development of\ntechnological solutions for the operation of eCommerce in the Latin American\nmarket.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/LPG-online"}]},{apiName:"LPG-payment-card",name:"LPG Payment Card",landscapeLogo:null,portraitLogo:null,summary:"The LPG Payment Card method.",description:"The LPG Payment Card method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/LPG-payment-card"}]},{apiName:"Litecoin",name:"Litecoin",landscapeLogo:null,portraitLogo:null,summary:"Litecoin is a peer-to-peer cryptocurrency and open-source software project.",description:"Litecoin is a peer-to-peer cryptocurrency and open-source software project.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Litecoin"}]},{apiName:"MTS",name:"MTS",landscapeLogo:null,portraitLogo:null,summary:"MTS allows users to make payments and money transfers from their e-wallet\nthrough a smartphone or MTS website.\n",description:"MTS allows users to make payments and money transfers from their e-wallet\nthrough a smartphone or MTS website.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/MTS"}]},{apiName:"Matrix",name:"Matrix",landscapeLogo:null,portraitLogo:null,summary:"The Matrix method.",description:"The Matrix method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Matrix"}]},{apiName:"MaxiCash",name:"MaxiCash",landscapeLogo:null,portraitLogo:null,summary:"The MaxiCash method.",description:"The MaxiCash method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"subset",values:["USD","ZAR"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/MaxiCash"}]},{apiName:"Megafon",name:"Megafon",landscapeLogo:null,portraitLogo:null,summary:"Megafon can be used to pay like a normal bank card online and in person at\nphysical locations.\n",description:"Megafon can be used to pay like a normal bank card online and in person at\nphysical locations.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Megafon"}]},{apiName:"MercadoPago",name:"MercadoPago",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/MercadoPago.svg",portraitLogo:null,summary:"Mercado hosts the largest online commerce and payments ecosystem in Latin America. They are present in 18 countries including: Argentina, Brazil, Mexico, Colombia, Chile, Venezuela and Peru. [www.mercadopago.com](https://www.mercadopago.com/)\n",description:"Mercado hosts the largest online commerce and payments ecosystem in Latin America. They are present in 18 countries including: Argentina, Brazil, Mexico, Colombia, Chile, Venezuela and Peru. [www.mercadopago.com](https://www.mercadopago.com/)\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!0,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/MercadoPago"}]},{apiName:"MiFinity-eWallet",name:"MiFinity-eWallet",landscapeLogo:null,portraitLogo:null,summary:"MiFinity eWallet allows users to send money from their account directly to a\nrecipient's bank account.\n",description:"MiFinity eWallet allows users to send money from their account directly to a\nrecipient's bank account.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/MiFinity-eWallet"}]},{apiName:"miscellaneous",name:"Miscellaneous",landscapeLogo:null,portraitLogo:null,summary:"The miscellaneous method.\n",description:"The miscellaneous method.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:null,relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/miscellaneous"}]},{apiName:"MobilePay",name:"MobilePay",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/MobilePay.svg",portraitLogo:null,summary:"Fast, easy payments are handled with a simple swipe, and all that’s needed to make them is a phone number.\n",description:"Fast, easy payments are handled with a simple swipe, and all that’s needed to make them is a phone number.\n",countries:{mode:"subset",values:["DK"]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"subset",values:["DKK"]},recurringPayments:!0,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/MobilePay"}]},{apiName:"MuchBetter",name:"MuchBetter",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Muchbetter.svg",portraitLogo:null,summary:"MuchBetter is a payment application with free transfers and multiple contact\npayment devices.\n",description:"MuchBetter is a payment application with free transfers and multiple contact\npayment devices.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/MuchBetter"}]},{apiName:"Multibanco",name:"Multibanco",landscapeLogo:null,portraitLogo:null,summary:"The Multibanco method.\n",description:"The Multibanco method.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:null,relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Multibanco"}]},{apiName:"MyFatoorah",name:"MyFatoorah",landscapeLogo:null,portraitLogo:null,summary:"The MyFatoorah method.",description:"The MyFatoorah method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/MyFatoorah"}]},{apiName:"Neosurf",name:"Neosurf",landscapeLogo:null,portraitLogo:null,summary:"Neosurf vouchers make online payments possible for thoe without bank accounts\nor credit cards.\n",description:"Neosurf vouchers make online payments possible for thoe without bank accounts\nor credit cards.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Voucher",relevantBusinessModels:[],supportedCurrencies:{mode:"subset",values:["USD"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Neosurf"}]},{apiName:"Netbanking",name:"Netbanking",landscapeLogo:null,portraitLogo:null,summary:"Netbanking allows merchants to accept UPI transactions in India.",description:"Netbanking allows merchants to accept UPI transactions in India.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B"],supportedCurrencies:{mode:"subset",values:["INR"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[{description:"Customer selects Netbanking at checkout"},{description:"Customer is directed to Netbanking"}],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Netbanking"}]},{apiName:"Neteller",name:"Neteller",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Neteller.svg",portraitLogo:null,summary:"Neteller offers payments or withdrawals via bank transfer, member wires, money\ntransfers, and merchant sites.\n",description:"Neteller offers payments or withdrawals via bank transfer, member wires, money\ntransfers, and merchant sites.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Neteller"}]},{apiName:"Nordea-Solo",name:"Nordea Solo",landscapeLogo:null,portraitLogo:null,summary:"The Nordea Solo method.",description:"The Nordea Solo method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Nordea-Solo"}]},{apiName:"NordikCoin",name:"NordikCoin",landscapeLogo:null,portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/NordikCoin.svg",summary:"NordikCoin customers can buy Bitcoin in under 5 minutes.",description:"NordikCoin is a crypto currency exchange that specializes in Bitcoin.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["EUR","NOK","SEK","DKK"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/NordikCoin"}]},{apiName:"OXXO",name:"OXXO",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/OXXO.svg",portraitLogo:null,summary:"OXXO is a Mexican convenience store chain with thousands of locations across\nLatin America. OXXO enables customers to pay bills and online purchases with\ncash.\n",description:"OXXO is a Mexican convenience store chain with thousands of locations across\nLatin America. OXXO enables customers to pay bills and online purchases with\ncash.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Voucher",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["MXN"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/OXXO"}]},{apiName:"OchaPay",name:"OchaPay",landscapeLogo:null,portraitLogo:null,summary:"The OchaPay method.",description:"The OchaPay method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/OchaPay"}]},{apiName:"online-bank-transfer",name:"Online Bank Transfer",landscapeLogo:null,portraitLogo:null,summary:"An online bank transfer is an electronic funds transfer of money from one bank\naccount to another.\n",description:"An online bank transfer is an electronic funds transfer of money from one bank\naccount to another.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/online-bank-transfer"}]},{apiName:"Onlineueberweisen",name:"OnlineUeberweisen",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Onlineueberweisen.svg",portraitLogo:null,summary:"OnlineUeberweisen is an online banking ePayment company located in Munich,\nGermany.\n",description:"OnlineUeberweisen is an online banking ePayment company located in Munich,\nGermany.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Onlineueberweisen"}]},{apiName:"oriental-wallet",name:"Oriental Wallet",landscapeLogo:null,portraitLogo:null,summary:"The Oriental Wallet method.",description:"The Oriental Wallet method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/oriental-wallet"}]},{apiName:"P24",name:"P24",landscapeLogo:null,portraitLogo:null,summary:"Przelewy24 (P24) is a payment method in Poland that allows the transfer of funds\nbetween more than 90,000 businesses and Polish banks.\n",description:"Przelewy24 (P24) is a payment method in Poland that allows the transfer of funds\nbetween more than 90,000 businesses and Polish banks.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["PLN"]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/P24"}]},{apiName:"PIX",name:"PIX",landscapeLogo:null,portraitLogo:null,summary:"PIX is a new payment method in Brazil for instant bank transfers and is\noperated by Brazilian banks, digital accounts, and wallets.\n",description:"PIX is a new payment method in Brazil for instant bank transfers and is\noperated by Brazilian banks, digital accounts, and wallets.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/PIX"}]},{apiName:"POLi",name:"POLi",landscapeLogo:null,portraitLogo:null,summary:"The POLi method.",description:"The POLi method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/POLi"}]},{apiName:"Pagadito",name:"Pagadito",landscapeLogo:null,portraitLogo:null,summary:"The Pagadito method.",description:"The Pagadito method.",countries:{mode:"subset",values:["BZ","CR","DO","GT","HN","NI","PA","PR","SV","US"]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"subset",values:["USD","GTQ","HNL","NIO","CRC","PAB","DOP"]},recurringPayments:!0,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Pagadito"}]},{apiName:"PagoEffectivo",name:"PagoEffectivo",landscapeLogo:null,portraitLogo:null,summary:"The PagoEffectivo method.",description:"The PagoEffectivo method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/PagoEffectivo"}]},{apiName:"Pagsmile-deposit-express",name:"Pagsmile Deposit Express",landscapeLogo:null,portraitLogo:null,summary:"Pagsmile Deposit Express is a money transfer system. After an online purchase,\nthe client can pay at a bank, ATM, or via internet banking.\n",description:"Pagsmile Deposit Express is a money transfer system. After an online purchase,\nthe client can pay at a bank, ATM, or via internet banking.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Pagsmile-deposit-express"}]},{apiName:"Pagsmile-lottery",name:"Pagsmile Lottery",landscapeLogo:null,portraitLogo:null,summary:"Pagsmile Lottery offers betting services as well as banking services such as\nwithdrawals, deposits, and bank checking.\n",description:"Pagsmile Lottery offers betting services as well as banking services such as\nwithdrawals, deposits, and bank checking.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Pagsmile-lottery"}]},{apiName:"Pay4Fun",name:"Pay4Fun",landscapeLogo:null,portraitLogo:null,summary:"Pay4Fun is a prepaid e-wallet that is connected to a bank account and can be\nused for deposits and withdrawls.\n",description:"Pay4Fun is a prepaid e-wallet that is connected to a bank account and can be\nused for deposits and withdrawls.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Pay4Fun"}]},{apiName:"PayCash",name:"PayCash",landscapeLogo:null,portraitLogo:null,summary:"PayCash is an electronic payment platformfor making anonymous internet\npurchases with cash via kiosks.\n",description:"PayCash is an electronic payment platformfor making anonymous internet\npurchases with cash via kiosks.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/PayCash"}]},{apiName:"PayRedeem",name:"PayRedeem",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/PayRedeem.svg",portraitLogo:null,summary:"PayRedeem eCards can be purchased online with credit/debit card, wire transfer, cryptocurrency, and over 200 alternative payment methods.\n",description:"PayRedeem eCards can be purchased online with credit/debit card, wire transfer, cryptocurrency, and over 200 alternative payment methods.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/PayRedeem"}]},{apiName:"PayTabs",name:"PayTabs",landscapeLogo:null,portraitLogo:null,summary:"The PayTabs method.",description:"The PayTabs method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/PayTabs"}]},{apiName:"PayU",name:"PayU",landscapeLogo:null,portraitLogo:null,summary:"The PayU method.",description:"The PayU method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/PayU"}]},{apiName:"PayULatam",name:"PayULatam",landscapeLogo:null,portraitLogo:null,summary:"The PayULatam method.",description:"The PayULatam method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/PayULatam"}]},{apiName:"Payco",name:"Payco",landscapeLogo:null,portraitLogo:null,summary:"Payco is one of the most popular forms of payment in South Korea and offers your shoppers convenience and familiarity when shopping online.\n",description:"Payco is one of the most popular forms of payment in South Korea and offers your shoppers convenience and familiarity when shopping online.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!1,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Payco"}]},{apiName:"Payeer",name:"Payeer",landscapeLogo:null,portraitLogo:null,summary:"Payeer is an e-wallet designed to manage cryptocurrencies and fiat currencies\nwith a built-in payment exchange for systems such as MasterCard, VISA, or\nPaypal.\n",description:"Payeer is an e-wallet designed to manage cryptocurrencies and fiat currencies\nwith a built-in payment exchange for systems such as MasterCard, VISA, or\nPaypal.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Payeer"}]},{apiName:"PaymentAsia-crypto",name:"PaymentAsia-crypto",landscapeLogo:null,portraitLogo:null,summary:"The PaymentAsia-crypto method.",description:"The PaymentAsia-crypto method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/PaymentAsia-crypto"}]},{apiName:"payment-card",name:"Payment Card",landscapeLogo:null,portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/PaymentCard.svg",summary:"Payment cards are physical cards used for cashless payments and are issued by\nfinancial institiutions, such as banks, to a customer.\n",description:"Payment cards are physical cards used for cashless payments and are issued by\nfinancial institiutions, such as banks, to a customer.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Card",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!0,refunds:!0,disputes:!0,ux:[{description:"Customer selects payment card at checkout"},{description:"Customer enters payment card PAN"},{description:"customer recieves payment confirmation"}],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/payment-card"}]},{apiName:"Paymero-QR",name:"Paymero-QR",landscapeLogo:null,portraitLogo:null,summary:"Paymero-QR helps online merchants to accept alternative methods such as\ncontactless payments through a QR code.\n",description:"Paymero-QR helps online merchants to accept alternative methods such as\ncontactless payments through a QR code.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Paymero-QR"}]},{apiName:"Paymero",name:"Paymero",landscapeLogo:null,portraitLogo:null,summary:"Paymero is an instant bank transfer that allows customers to make UnionPay\nbank transfers to merchants.\n",description:"Paymero is an instant bank transfer that allows customers to make UnionPay\nbank transfers to merchants.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:[],supportedCurrencies:{mode:"subset",values:["USD","THB"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Paymero"}]},{apiName:"paypal",name:"Paypal",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Paypal.svg",portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/Paypal.svg",summary:"Paypal is currently one of the most popular online payment processors, with\nover 300 million account holders.\n",description:"Paypal is currently one of the most popular online payment processors, with\nover 300 million account holders.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["USD"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/paypal"}]},{apiName:"Paysafecard",name:"Paysafecard",landscapeLogo:null,portraitLogo:null,summary:"Paysafecard is a closed loop gift card that allows users to pay safely online.",description:"Paysafecard is a closed loop gift card that allows users to pay safely online.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Voucher",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Paysafecard"}]},{apiName:"Paysafecash",name:"Paysafecash",landscapeLogo:null,portraitLogo:null,summary:"Paysafecash is an online payment method that allows users to make secure digital payments using cash.",description:"Paysafecash is an online payment method that allows users to make secure digital payments using cash.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Voucher",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Paysafecash"}]},{apiName:"Perfect-money",name:"Perfect Money",landscapeLogo:null,portraitLogo:null,summary:"Perfect oney allows users to make instant payments and money transfers\nsecurely online through an online portal.\n",description:"Perfect oney allows users to make instant payments and money transfers\nsecurely online through an online portal.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Perfect-money"}]},{apiName:"phone",name:"Phone",landscapeLogo:null,portraitLogo:null,summary:"A phone is a telecommunications device that allows users to conduct a\nconversation.\n",description:"A phone is a telecommunications device that allows users to conduct a\nconversation.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/phone"}]},{apiName:"PhonePe",name:"PhonePe",landscapeLogo:null,portraitLogo:null,summary:"PhonePe is a digital wallet and online payments application that allows users\nto make instant money transfers with UPI.\n",description:"PhonePe is a digital wallet and online payments application that allows users\nto make instant money transfers with UPI.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/PhonePe"}]},{apiName:"Piastrix",name:"Piastrix",landscapeLogo:null,portraitLogo:null,summary:"Piastrix is a Russian payment method that allows merchants to accept credit\ncard purchases via e-wallet.\n",description:"Piastrix is a Russian payment method that allows merchants to accept credit\ncard purchases via e-wallet.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Piastrix"}]},{apiName:"PinPay",name:"PinPay",landscapeLogo:null,portraitLogo:null,summary:"The PinPay method.",description:"The PinPay method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/PinPay"}]},{apiName:"QIWI",name:"QIWI",landscapeLogo:null,portraitLogo:null,summary:"QIWI is an e-wallet that allows users to transfer money, receive payments, and\nhas over 149,000 kiosks and terminals.\n",description:"QIWI is an e-wallet that allows users to transfer money, receive payments, and\nhas over 149,000 kiosks and terminals.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/QIWI"}]},{apiName:"QPay",name:"QPay",landscapeLogo:null,portraitLogo:null,summary:"The QPay method.\n",description:"The QPay method.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:null,relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/QPay"}]},{apiName:"QQPay",name:"QQPay",landscapeLogo:null,portraitLogo:null,summary:"QQPay is an e-wallet that allows users to pay for online services quickly an\nsecurely.\n",description:"QQPay is an e-wallet that allows users to pay for online services quickly an\nsecurely.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/QQPay"}]},{apiName:"rapyd-checkout",name:"Rapyd Checkout",landscapeLogo:null,portraitLogo:null,summary:"Rapyd Checkout is a platform that allows businesses to accept payment in the\nform of instant UPI payments from bank accounts, e-wallets, and credit cards.\n",description:"Rapyd Checkout is a platform that allows businesses to accept payment in the\nform of instant UPI payments from bank accounts, e-wallets, and credit cards.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/rapyd-checkout"}]},{apiName:"Resurs",name:"Resurs",landscapeLogo:null,portraitLogo:null,summary:"The Resurs method.",description:"The Resurs method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Resurs"}]},{apiName:"Ripple",name:"Ripple",landscapeLogo:null,portraitLogo:null,summary:"Ripple is a blockchain-based digital payment network and protocol that uses\nthe XRP Ledger blockchain and XRP. Ripple makes money by providing cross-border\npayment and crypto liquidity services to businesses.\n",description:"Ripple is a blockchain-based digital payment network and protocol that uses\nthe XRP Ledger blockchain and XRP. Ripple makes money by providing cross-border\npayment and crypto liquidity services to businesses.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Cryptocurrency",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Ripple"}]},{apiName:"SEPA",name:"SEPA",landscapeLogo:null,portraitLogo:null,summary:"SEPA simplifies payments within the European Union and facilitates the direct\ndebiting of every Euro-denominated bank account.\n",description:"SEPA simplifies payments within the European Union and facilitates the direct\ndebiting of every Euro-denominated bank account.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["EUR"]},recurringPayments:!0,refunds:!0,disputes:!0,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/SEPA"}]},{apiName:"SMSVoucher",name:"SMSVoucher",landscapeLogo:null,portraitLogo:null,summary:"SMS Voucher is a mobile voucher that can be used to transfer funds via a\nmobile phone.\n",description:"SMS Voucher is a mobile voucher that can be used to transfer funds via a\nmobile phone.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/SMSVoucher"}]},{apiName:"SPEI",name:"SPEI",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/spei.svg",portraitLogo:null,summary:"SPEI allows its customers to send and receive interbank electronic\ntransfers and obtain real-time payment confirmation in seconds.\n",description:"SPEI allows its customers to send and receive interbank electronic\ntransfers and obtain real-time payment confirmation in seconds.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["MXN"]},recurringPayments:!0,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/SPEI"}]},{apiName:"SafetyPay",name:"SafetyPay",landscapeLogo:null,portraitLogo:null,summary:"SafetyPay operates the largest network of banks and cash collection points in Latin America, the result of 10+ years effort, with presence in 16 countries consolidated with 380 bank partners and 180,000 collection points.\n",description:"SafetyPay operates the largest network of banks and cash collection points in Latin America, the result of 10+ years effort, with presence in 16 countries consolidated with 380 bank partners and 180,000 collection points.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/SafetyPay"}]},{apiName:"Samsung Pay",name:"Samsung Pay",landscapeLogo:null,portraitLogo:null,summary:"Samsung Pay is a mobile payment and digital wallet service by Samsung Electronics that enables users to make payments using\ncompatible phones and other Samsung-produced devices.\n",description:"Samsung Pay is a mobile payment and digital wallet service by Samsung Electronics that enables users to make payments using\ncompatible phones and other Samsung-produced devices.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!1,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Samsung%20Pay"}]},{apiName:"Siirto",name:"Siirto",landscapeLogo:null,portraitLogo:null,summary:"Siirto allows users to transfer money easily to other Siirto users by using\ntheir phone numbers.\n",description:"Siirto allows users to transfer money easily to other Siirto users by using\ntheir phone numbers.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Siirto"}]},{apiName:"Skrill",name:"Skrill",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Skrill.svg",portraitLogo:null,summary:"Skrill is a digital wallet for money transfers and online payments that offers\na safe way to pay across different platforms.\n",description:"Skrill is a digital wallet for money transfers and online payments that offers\na safe way to pay across different platforms.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Skrill"}]},{apiName:"Skrill Rapid Transfer",name:"Skrill Rapid Transfer",landscapeLogo:null,portraitLogo:null,summary:"Skrill Rapid Transfer allows users to deposit money into their Skrill wallet\nor to pay online directly.\n",description:"Skrill Rapid Transfer allows users to deposit money into their Skrill wallet\nor to pay online directly.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Skrill%20Rapid%20Transfer"}]},{apiName:"Sofort",name:"Sofort",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Sofort.svg",portraitLogo:null,summary:"Sofort is a payment method acquired by Klarna that redirects customers to\ninitiate a transfer with their bank.\n",description:"Sofort is a payment method acquired by Klarna that redirects customers to\ninitiate a transfer with their bank.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["EUR"]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Sofort"}]},{apiName:"SparkPay",name:"SparkPay",landscapeLogo:null,portraitLogo:null,summary:"The SparkPay method.",description:"The SparkPay method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/SparkPay"}]},{apiName:"swift-dbt",name:"SWIFT Debit",landscapeLogo:null,portraitLogo:null,summary:"The SWIFT Debit method.",description:"The SWIFT Debit method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/swift-dbt"}]},{apiName:"TWINT",name:"TWINT",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/TWINT.svg",portraitLogo:null,summary:"TWINT allows customers to make convenient and secure payments via a smartpone.",description:"TWINT allows customers to make convenient and secure payments via a smartpone.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:[],supportedCurrencies:{mode:"subset",values:["CHF"]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/TWINT"}]},{apiName:"Tabby",name:"Tabby",landscapeLogo:null,portraitLogo:null,summary:"Tabby is MENA's biggest Buy Now Pay Later, letting merchants grow their business by offering their shoppers flexible payments.\n",description:"Tabby is MENA's biggest Buy Now Pay Later, letting merchants grow their business by offering their shoppers flexible payments.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Credit card",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["USD","AED","SAR","KWD","BHD","QAR"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Tabby"}]},{apiName:"Tele2",name:"Tele2",landscapeLogo:null,portraitLogo:null,summary:"Tele2 is an intergrated e-wallet that allows users to instantly receive\ndigital payments frmi TalkBank.\n",description:"Tele2 is an intergrated e-wallet that allows users to instantly receive\ndigital payments frmi TalkBank.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Tele2"}]},{apiName:"Telr",name:"Telr",landscapeLogo:null,portraitLogo:null,summary:"The Telr method.",description:"The Telr method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Telr"}]},{apiName:"Terminaly-RF",name:"Terminaly RF",landscapeLogo:null,portraitLogo:null,summary:"The Terminaly RF method.",description:"The Terminaly RF method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Terminaly-RF"}]},{apiName:"Tether",name:"Tether",landscapeLogo:null,portraitLogo:null,summary:"Tether is a cryptocurrency with tokens issued by Tether Limited.",description:"Tether is a cryptocurrency with tokens issued by Tether Limited.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Tether"}]},{apiName:"ToditoCash-card",name:"ToditoCash Card",landscapeLogo:null,portraitLogo:null,summary:"ToditoCash Card is a prepaid card service used in Mexico that allows customers\nto use the card for purchasing goods and services online.\n",description:"ToditoCash Card is a prepaid card service used in Mexico that allows customers\nto use the card for purchasing goods and services online.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/ToditoCash-card"}]},{apiName:"Trustly",name:"Trustly",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Trustly.svg",portraitLogo:null,summary:"Trustly an open banking payment method that allows customers to shop and pay\nfrom their online bank account, without the use of a card or app.\n",description:"Trustly an open banking payment method that allows customers to shop and pay\nfrom their online bank account, without the use of a card or app.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Trustly"}]},{apiName:"Tupay",name:"Tupay",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Tupay.svg",portraitLogo:null,summary:"Tupay is a one-stop-shop payment platform. It enables you to make everyday purchases in an easy, convenient, and secure manner through your favorite wallets.\nPay seamlessly, in-app, from anywhere your money is. Whether it is mobile money, a card, or bank without the need to transfer to various wallets.\n",description:"Tupay is a one-stop-shop payment platform. It enables you to make everyday purchases in an easy, convenient, and secure manner through your favorite wallets.\nPay seamlessly, in-app, from anywhere your money is. Whether it is mobile money, a card, or bank without the need to transfer to various wallets.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!0,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Tupay"}]},{apiName:"UPI",name:"UPI",landscapeLogo:null,portraitLogo:null,summary:"Unified Payments Interface (UPI) is a payment system that powers multiple bank\naccounts into a single mobile application.\n",description:"Unified Payments Interface (UPI) is a payment system that powers multiple bank\naccounts into a single mobile application.\n",countries:{mode:"subset",values:["IN"]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/UPI"}]},{apiName:"UPayCard",name:"UPayCard",landscapeLogo:null,portraitLogo:null,summary:"The UPayCard method.",description:"The UPayCard method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/UPayCard"}]},{apiName:"USD-coin",name:"USD coin",landscapeLogo:null,portraitLogo:null,summary:"The USD coin (USDC ERC20) method.\n",description:"The USD coin (USDC ERC20) method.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:null,relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/USD-coin"}]},{apiName:"UniCrypt",name:"UniCrypt",landscapeLogo:null,portraitLogo:null,summary:"The UniCrypt method.",description:"The UniCrypt method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/UniCrypt"}]},{apiName:"VCreditos",name:"VCreditos",landscapeLogo:null,portraitLogo:null,summary:"VCreditos is an e-wallet for online transfers and withdrawals. The customer\ncan acquire exclusive advantages, points, and benefits.\n",description:"VCreditos is an e-wallet for online transfers and withdrawals. The customer\ncan acquire exclusive advantages, points, and benefits.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/VCreditos"}]},{apiName:"VegaWallet",name:"VegaWallet",landscapeLogo:null,portraitLogo:null,summary:"VegaWallet is an e-wallet that allows users to purchase, receive, send, and convert funds (points) between users and merchants.\n",description:"VegaWallet is an e-wallet that allows users to purchase, receive, send, and convert funds (points) between users and merchants.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/VegaWallet"}]},{apiName:"VenusPoint",name:"VenusPoint",landscapeLogo:null,portraitLogo:null,summary:"The VenusPoint method.",description:"The VenusPoint method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/VenusPoint"}]},{apiName:"voucher",name:"Voucher",landscapeLogo:null,portraitLogo:null,summary:"The voucher method.\n",description:"The voucher method.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:null,relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/voucher"}]},{apiName:"Wallet88",name:"Wallet88",landscapeLogo:null,portraitLogo:null,summary:"Wallet88 payment method.",description:"Wallet88 payment method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"E-Wallet",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Wallet88"}]},{apiName:"WeChat Pay",name:"WeChat Pay",landscapeLogo:null,portraitLogo:null,summary:"WeChat Pay is an e-Wallet within the Chinese social media app WeChat.",description:"WeChat Pay is an e-Wallet within the Chinese social media app WeChat.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/WeChat%20Pay"}]},{apiName:"Webmoney",name:"Webmoney",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Webmoney.svg",portraitLogo:null,summary:"The Webmoney method.",description:"The Webmoney method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Webmoney"}]},{apiName:"Webpay",name:"Webpay",landscapeLogo:null,portraitLogo:null,summary:"The Webpay method.",description:"The Webpay method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Webpay"}]},{apiName:"Webpay Card",name:"Webpay Card",landscapeLogo:null,portraitLogo:null,summary:"Webpay Card allows consumers in Chile to securely use their debit and credit\ncards online.\n",description:"Webpay Card allows consumers in Chile to securely use their debit and credit\ncards online.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Webpay%20Card"}]},{apiName:"XPay-P2P",name:"XPay-P2P",landscapeLogo:null,portraitLogo:null,summary:"XPAY-P2P is a payment service provider with online merchant services & payment\ngateway integration for retailers.\n",description:"XPAY-P2P is a payment service provider with online merchant services & payment\ngateway integration for retailers.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/XPay-P2P"}]},{apiName:"XPay-QR",name:"XPay-QR",landscapeLogo:null,portraitLogo:null,summary:"XPay-QR is a contactless payment method where payments are completed by\nscannign a QR code from a mobile app.\n",description:"XPay-QR is a contactless payment method where payments are completed by\nscannign a QR code from a mobile app.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/XPay-QR"}]},{apiName:"Yandex-money",name:"Yandex Money",landscapeLogo:null,portraitLogo:null,summary:"Yandex Money serves both merchants and individual users as the largest\nelectronic payment service in Russia.\n",description:"Yandex Money serves both merchants and individual users as the largest\nelectronic payment service in Russia.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Yandex-money"}]},{apiName:"Zimpler",name:"Zimpler",landscapeLogo:null,portraitLogo:null,summary:"The Zimpler method.",description:"The Zimpler method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Zimpler"}]},{apiName:"Zip",name:"Zip",landscapeLogo:null,portraitLogo:null,summary:"Zip offers one of the leading buy now, pay later services in Australia through their Zip Pay and Zip Money products.\n",description:"Zip offers one of the leading buy now, pay later services in Australia through their Zip Pay and Zip Money products.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Zip"}]},{apiName:"Zotapay",name:"Zotapay",landscapeLogo:null,portraitLogo:null,summary:"Zotapay is a global payment service provider that facilitates online payment\nprocessing solutions for emerging markets worldwide.\n",description:"Zotapay is a global payment service provider that facilitates online payment\nprocessing solutions for emerging markets worldwide.\n",countries:{mode:"all",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Credit card",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Zotapay"}]},{apiName:"ePay.bg",name:"ePay.bg",landscapeLogo:null,portraitLogo:null,summary:"ePay.bg is a free mobile application allowing customers to pay and receive\nmoney quickly and safely.\n",description:"ePay.bg is a free mobile application allowing customers to pay and receive\nmoney quickly and safely.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/ePay.bg"}]},{apiName:"ePayCard",name:"ePayCard",landscapeLogo:null,portraitLogo:null,summary:"ePay is a free mobile application that provides a quick and safe way to pay and receive money.\n",description:"ePay is a free mobile application that provides a quick and safe way to pay and receive money.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/ePayCard"}]},{apiName:"ezyEFT",name:"ezyEFT",landscapeLogo:null,portraitLogo:null,summary:"ezyEFT is an easy to use software application that offers customers the option\nof paying by direct debit.\n",description:"ezyEFT is an easy to use software application that offers customers the option\nof paying by direct debit.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["CAD"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/ezyEFT"}]},{apiName:"iCashOne Voucher",name:"iCashOne Voucher",landscapeLogo:null,portraitLogo:null,summary:"Prepaid vouchers that can be used for online payments without linking to a bank account.\n",description:"Prepaid vouchers that can be used for online payments without linking to a bank account.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Voucher",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/iCashOne%20Voucher"}]},{apiName:"loonie",name:"loonie",landscapeLogo:null,portraitLogo:null,summary:"The loonie method.",description:"The loonie method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/loonie"}]}];class ko extends pt{get logo(){return this.landscapeLogo||this.portraitLogo}}const xo=class{constructor({name:e="",expirationTime:t="",displayName:n="",country:r="",merchantName:a="",merchantOrigin:s="",paypalMerchantId:o="",billingAgreementToken:i="",paypalClientId:l="",linkToken:u="",clientToken:c="",sessionId:d=""}={}){this.name=e,this.expirationTime=t,this.displayName=n,this.country=r,this.merchantName=a,this.merchantOrigin=s,this.paypalMerchantId=o,this.billingAgreementToken=i,this.paypalClientId=l,this.linkToken=u,this.clientToken=c,this.sessionId=d}};xo.FeatureName={paypalBillingAgreement:"PayPal billing agreement",googlePay:"Google Pay",applePay:"Apple Pay",klarna:"Klarna"};let So=xo;class Po{constructor({index:e=null,method:t="",feature:n=null,brands:r=[],filters:a=[],metadata:s=null}={}){this.index=e,this.method=t,this.feature=n?new So(n):null,this.brands=r,this.filters=a,this.metadata=s?new ko(s):null}get optionsExpressPaymentInstrumentsKey(){var e;switch(null==(e=this.feature)?void 0:e.name){case So.FeatureName.paypalBillingAgreement:return"paypal";case So.FeatureName.googlePay:return"googlePay";case So.FeatureName.applePay:return"applePay";default:return}}}function Co(e){const t=[...wo],n=["Google Pay","Apple Pay","paypal","Samsung Pay"],r=["Samsung Pay"],a=["echeck","Khelocard","Apple Pay","China UnionPay","Google Pay","KakaoPay","Payco","Samsung Pay"];return e.filter(e=>{var t;const n="paypal"===e.method&&!e.feature,s="ach"===e.method&&e.feature,o=a.includes(e.method),i=r.includes(null==(t=e.feature)?void 0:t.name),l="Klarna"===e.method&&!e.feature;return!(n||s||o||i||l)}).map((e,r)=>{const a=t.find(t=>t.apiName===e.method)||{};return a.isExpressMethod=(({method:e,feature:t})=>n.includes(e)||n.includes(null==t?void 0:t.name))(e),new Po({index:r,metadata:a,...e})})}async function Bo(){return Wa(async()=>{var e,t,n,r,a,s,o,i,l;if(!Ge.data.riskMetadata){const{riskMetadata:e}=await po();Ge.data.riskMetadata=e}const u={riskMetadata:Ge.data.riskMetadata};if(u.websiteId=(null==(e=Ge.options)?void 0:e.websiteId)||null,(null==(t=Ge.options)?void 0:t.items)&&(u.items=Ka(Ge.options.items)),((null==(n=Ge.options)?void 0:n.money)||(null==(r=Ge.data)?void 0:r.invoice)||(null==(a=Ge.data)?void 0:a.transaction))&&(null==(s=Ge.data)?void 0:s.amountAndCurrency)){const{amount:e,currency:t}=Ge.data.amountAndCurrency;u.amount=e,u.currency=t}(null==(i=null==(o=Ge.data)?void 0:o.account)?void 0:i.address)&&(u.billingAddress=Ge.data.account.address),(null==(l=Ge.data)?void 0:l.deposit)&&(u.amount=Ge.data.deposit.amount,u.currency=Ge.data.deposit.currency);const{fields:c}=await Ge.storefront.purchase.readyToPay({data:u});return Co(Object.values(c))})}function Ao(e){const t=[...wo],n=["Google Pay","Apple Pay","paypal","Samsung Pay"],r=["Samsung Pay"],a=["echeck","Khelocard","Klarna"];return e.filter(e=>{var t;const n="paypal"===e.method&&!e.feature,s="ach"===e.method&&e.feature,o=a.includes(e.method),i=r.includes(null==(t=e.feature)?void 0:t.name);return!(n||s||o||i)}).map((e,r)=>{const a=t.find(t=>t.apiName===e.method)||{};return a.isExpressMethod=(({method:e,feature:t})=>n.includes(e)||n.includes(null==t?void 0:t.name))(e),new Po({index:r,metadata:a,...e})}).filter(({metadata:e})=>e.storefrontEnabled)}async function Lo(){return Wa(async()=>{var e,t,n;if(Xe(Ge.options),function(e){if(null==e)throw new Error("Could not access data instance")}(Ge.data),Ve(Ge.storefront),!(null==(e=null==Ge?void 0:Ge.data)?void 0:e.riskMetadata)){const{riskMetadata:e}=await po();Ge.data.riskMetadata=e}const r={riskMetadata:Ge.data.riskMetadata,websiteId:Ge.options.websiteId||null};(null==(n=null==(t=null==Ge?void 0:Ge.data)?void 0:t.account)?void 0:n.address)&&(r.billingAddress=Ge.data.account.address),Ge.data.payout&&(r.amount=Ge.data.payout.amount,r.currency=Ge.data.payout.currency);const{fields:a}=await Ge.storefront.readyToPayout.readyToPayout({data:r});return Ao(Object.values(a))})}async function Eo({data:e}){return Wa(async()=>{var t;Ve(Ge.storefront),Xe(Ge.options),Ge.storefront.setSessionToken(Ge.options.jwt);const{fields:n}=await Ge.storefront.invoices.get({...e,expand:"items.*.product"});return{products:null==(t=n.items)?void 0:t.filter(e=>e._embedded).map(e=>{var t;return new fo(null==(t=e._embedded)?void 0:t.product)}),invoice:new ft(n)}})}const Io=class e extends pt{constructor({invoiceIds:e=[],...t}){super(t),this.invoiceIds=e||[]}get invoiceId(){return this.invoiceIds[0]||null}get hasInvoice(){return Boolean(this.invoiceId)}get transactionIsCompleted(){return this.status===e.Status.completed}};Io.Status={completed:"completed"};let To=Io;async function Mo({data:e=null}){return Wa(async()=>{if(Ve(Ge.storefront),Xe(Ge.options),null==e)throw new Error("Invalid payload.");Ge.storefront.setSessionToken(Ge.options.jwt);const{fields:t}=await Ge.storefront.transactions.get(e);return new To(t)})}class $o{constructor({firstName:e=null,lastName:t=null,organization:n=null,address:r=null,address2:a=null,city:s=null,region:o=null,country:i=null,postalCode:l=null,emails:u=[],phoneNumbers:c=[]}={}){this.firstName=e,this.lastName=t,this.organization=n,this.address=r,this.address2=a,this.city=s,this.region=o,this.country=i,this.postalCode=l,this.emails=u,this.phoneNumbers=c}}class Ro extends pt{constructor({primaryAddress:e={},...t}={}){super(t),this.address=new $o({...e})}}class Fo extends pt{}async function Ho(){return Wa(async()=>{var e;Ve(Ge.storefront),Xe(Ge.options),Ge.storefront.setSessionToken(Ge.options.jwt);const{fields:t}=await Ge.storefront.account.get({expand:"website"});return{website:new Fo(null==(e=t._embedded)?void 0:e.website),account:new Ro(t)}})}async function No(){return Wa(async()=>{Ve(Ge.storefront);const{items:e}=await Ge.storefront.paymentInstruments.getAll({filter:"status:active,inactive,verification-needed"});return e.map(({fields:e})=>e)})}class Oo extends pt{constructor(e){super(e),this.amount=Array.isArray(e.amounts)?e.amounts[0]:e.amount,e.buttons?this.buttons=e.buttons:e.amounts?this.buttons=[...e.amounts]:this.buttons=[],this.editable="boolean"==typeof e.editable?e.editable:Boolean(e.customAmount),this.customAmount=Ne({minimum:1,maximum:1e12,multipleOf:1},e.customAmount||{})}}async function Uo({data:e=null}){return Wa(async()=>{if(Ve(Ge.storefront),Xe(Ge.options),null==e)throw new Error("Invalid payload.");Ge.storefront.setSessionToken(Ge.options.jwt);const{fields:t}=await Ge.storefront.depositRequests.get(e);return new Oo(t)})}const _o=class e extends pt{constructor(e={}){super(e)}get isPending(){return this.status===e.Status.pending}};_o.Status={pending:"pending",instrumentSelected:"instrument-selected",partiallyFulfilled:"partially-fulfilled",fulfilled:"fulfilled",canceled:"canceled"};let jo=_o;async function qo(e){return Wa(async()=>{Ve(Ge.storefront),Xe(Ge.options);const{fields:t}=await Ge.storefront.payoutRequests.get(e);return new jo(t)})}function Do(e){return null!=e&&"depositRequestId"in e&&"string"==typeof e.depositRequestId}const Wo=["utm_source","utm_medium","utm_campaign","utm_term","utm_content","affiliate","subAffiliate","clickId","salesAgent"],zo=/utm_/g,Vo=()=>{const{href:e,origin:t,pathname:n,search:r}=window.location,a={path:e.length<=255?e:`${t}${n}`};return r.replace("?","").split("&").map(e=>e.split("=")).filter(e=>{const[t]=e;return Wo.indexOf(t)>-1}).reduce((e,t)=>{const[n,r=null]=t,a=n.replace(zo,"");return a&&(e[a]=null!==r?decodeURIComponent(r):null),e},a)};class Xo{constructor({...e}={}){var t;Object.entries({...Ge.data||{},...e}).forEach(([e,t])=>{this[e]=t}),this.money=(null==(t=Ge.options)?void 0:t.money)||null,this.couponIds=[],this.addons=[],this.acceptBumpOffer=!1}get amountAndCurrency(){let e,t,n;this.previewPurchase?(e=this.previewPurchase.currency,t=this.previewPurchase.total):this.invoice?(e=this.invoice.currency,t=this.invoice.amount,n=this.invoice.amountDue):this.transaction?(e=this.transaction.currency,t=this.transaction.amount):this.money&&(e=this.money.currency,t=this.money.amount);const r={amount:t,currency:e};return n&&(r.amountDue=n),r}get isPayment(){return Boolean(this.invoice||this.transaction||this.money)}get isDepositTransaction(){var e;return Boolean(null==(e=this.transaction)?void 0:e.depositRequestId)}get isInvoice(){return Boolean(this.invoice)}get isPurchase(){return Boolean(this.previewPurchase)}get hasAmountDue(){return Boolean(this.amountAndCurrency.amountDue&&this.amountAndCurrency.amountDue!==this.amountAndCurrency.amount)}get summaryItems(){var e,t;const{shippingAmount:n=null,subtotalAmount:r=null,taxAmount:a=null}=this.previewPurchase||this.invoice||{};return{discountsAmount:(null==(e=this.previewPurchase)?void 0:e.discountsAmount)??(null==(t=this.invoice)?void 0:t.discountAmount)??null,shippingAmount:n,subtotalAmount:r,taxAmount:a}}get summaryLineItems(){let e=[];return this.invoice?({items:e=[]}=this.invoice):({lineItems:e=[]}=this.previewPurchase||{}),e}get isShippingRequired(){return(this.products||[]).some(e=>e.requiresShipping)}get hasPurchaseData(){var e,t;return Boolean(this.isPayment||this.inPurchase||(null==(e=Ge.options)?void 0:e.deposit)||(null==(t=Ge.options)?void 0:t.payout))}toPostmatesModel(){return JSON.parse(JSON.stringify({...this,hasPurchaseData:this.hasPurchaseData,amountAndCurrency:this.amountAndCurrency,isPayment:this.isPayment,isInvoice:this.isInvoice,isPurchase:this.isPurchase,isDepositTransaction:this.isDepositTransaction,hasAmountDue:this.hasAmountDue,summaryItems:this.summaryItems,summaryLineItems:this.summaryLineItems,isShippingRequired:this.isShippingRequired,leadSource:Vo()}))}}async function Go({riskMetadata:e=null,fetchInvoiceAndProducts:t=Eo,fetchTransaction:n=Mo,fetchAccountAndWebsite:r=Ho,fetchInstruments:a=No,fetchDepositRequest:s=Uo,fetchPayoutRequest:o=qo}={}){var i,l,u,c,d,p,m,f,y,h,g,b,v,w,k,x,S,P,C,B,A;try{if(Ge.data=new Xo,Ge.storefront&&(null==(i=Ge.options)?void 0:i.jwt)&&Ge.storefront.setSessionToken(Ge.options.jwt),e)Ge.data.riskMetadata=e;else{const{riskMetadata:e}=await po();Ge.data.riskMetadata=e}let L;(null==(l=Ge.options)?void 0:l.deposit)&&(Do(Ge.options.deposit)?Ge.data.deposit=await s({data:{id:Ge.options.deposit.depositRequestId}}):Ge.data.deposit=new Oo(Ge.options.deposit)),(null==(u=Ge.options)?void 0:u.payout)&&(Ge.data.payout=await o({id:Ge.options.payout.payoutRequestId})),(null==(c=Ge.options)?void 0:c.transactionId)&&(Ge.data.transaction=await n({data:{id:Ge.options.transactionId}}));const E=(null==(d=Ge.options)?void 0:d.invoiceId)||(null==(m=null==(p=Ge.data)?void 0:p.transaction)?void 0:m.invoiceId);if(E){const{invoice:e,products:n}=await t({data:{id:E}});L=Promise.resolve(n),Ge.data.invoice=e}const I=[null==(y=null==(f=Ge.options)?void 0:f.paymentInstruments)?void 0:y.allowDeactivate,null==(g=null==(h=Ge.options)?void 0:h.paymentInstruments)?void 0:g.allowUpdate,null==(v=null==(b=Ge.options)?void 0:b.paymentInstruments)?void 0:v.allowMakeDefault].some(e=>e);let T=Promise.resolve(null),M=Promise.resolve(null),$=Promise.resolve(),R=null;(null==(w=Ge.options)?void 0:w.jwt)?($=r().then(({account:e,website:t})=>{if(null==Ge.data)throw new Error("Invalid data instance");Ge.data.account=e,Ge.data.website=t}),(null==(k=Ge.options)?void 0:k.payout)?M=$.then(()=>Lo()):(Ge.data.money||Ge.data.invoice||Ge.data.transaction||Ge.data.payout||Ge.data.deposit)&&(T=$.then(()=>Bo())),R=a()):(null==(x=Ge.options)?void 0:x.payout)?M=Lo():T=Bo();const F=(null==(S=Ge.options)?void 0:S.items)?Ya():null;(null==(P=Ge.options)?void 0:P.jwt)||(L=async function(){return Wa(async()=>{var e,t,n,r;let a;a=(null==(e=Ge.data)?void 0:e.summaryLineItems)&&Ge.data.summaryLineItems.length>0?Ge.data.summaryLineItems:(null==(t=Ge.options)?void 0:t.items)??[];const s={filter:"",expand:"product"};if(a.length){let e=a.map(e=>e.planId);(null==(n=Ge.options)?void 0:n.addons)&&(e=e.concat(Ge.options.addons.map(e=>e.planId))),(null==(r=Ge.options)?void 0:r.bumpOffer)&&(e=e.concat(Ge.options.bumpOffer.map(e=>e.planId))),s.filter=`id:${Array.from(new Set(e)).join(",")}`}if(s.filter.length)try{Ve(Ge.storefront);const{items:e}=await Ge.storefront.plans.getAll(s),t=[];return e.map(({fields:e})=>{var t;return new fo(null==(t=e._embedded)?void 0:t.product)}).forEach(e=>{t.every(t=>t.id!==e.id)&&t.push(e)}),t}catch(o){}return[]})}());let H=new Promise(e=>{e([])});((null==(C=Ge.options)?void 0:C.addons)||(null==(B=Ge.options)?void 0:B.bumpOffer))&&(H=async function(){return Wa(async()=>{var e,t;let n=[];if((null==(e=Ge.options)?void 0:e.addons)&&(n=n.concat(Ge.options.addons.map(e=>e.planId))),(null==(t=Ge.options)?void 0:t.bumpOffer)&&(n=n.concat(Ge.options.bumpOffer.map(e=>e.planId))),n.length>0){Ve(Ge.storefront);const{items:e}=await Ge.storefront.plans.getAll({filter:`id:${n.join(",")}`});return e.map(({fields:e})=>new vo(e).toPayload())}return[]})}());let[N,O,U,_,j,q]=await Promise.all([M,T,F,L,H,R]);if(I&&q&&!O&&!(null==(A=Ge.options)?void 0:A.payout)){const e=new Set;q.forEach(t=>{e.add(t.method)}),O=Co(Array.from(e).map(e=>({method:e})))}return new Xo({readyToPayout:N,readyToPay:O,previewPurchase:U,products:_,plans:j,availableInstruments:q,isManageInstruments:I})}catch(L){console.error(L)}return new Xo({})}function Zo({state:e,id:t}){const{Framepay:n}=window,r=e.form.querySelector(`.rebilly-instruments-${t}-method`);return function(){if(!r.children.length){const r={"google-pay":"googlePay","pay-pal-billing-agreement":"paypal","apple-pay":"applePay"},a=e.form.querySelector(`.rebilly-instruments-${t}-method`);r[t]?(n[r[t]].mount(a),"apple-pay"===t&&function(){const t=e.form.querySelector("#rebilly-apple-pay-button"),{applePayDisplayOptions:{buttonHeight:n}}=e.options.digitalWallet.applePay,r={margin:"0px",width:"100%","--apple-pay-button-height":n};Object.entries(r).forEach(([e,n])=>{t.style.setProperty(e,n)})}()):console.warn(`method '${t}' is not supported`)}}}const Ko=e=>{var t,n;return{METHOD_ID:je((null==(t=e.feature)?void 0:t.name)||e.method),METHOD_TYPE:_e((null==(n=e.feature)?void 0:n.name)||e.method).replace("-","")}};async function Jo({methods:e,container:t}){const n=e.map(e=>{const{METHOD_ID:t}=Ko(e);return t}),{Framepay:r}=window;(null==r?void 0:r.initialized)||await(null==r?void 0:r.initialize(function({methodIds:e}={}){var t,n;const{options:r,data:a}=Ge,s={style:r.themeFramepay,locale:(null==r?void 0:r.locale)||"auto",organizationId:r.organizationId,websiteId:r.websiteId,methods:r.payout?a.readyToPayout:a.readyToPay};return e.includes("pay-pal-billing-agreement")&&(s.transactionData=Ne("object"==typeof s.transactionData?s.transactionData:{},a.amountAndCurrency),s.paypal=r.paymentInstruments.paypal),e.includes("google-pay")&&(s.transactionData=Ne("object"==typeof s.transactionData?s.transactionData:{},null==(t=r.digitalWallet.googlePay)?void 0:t.transactionData),s.googlePay=r.digitalWallet.googlePay.googlePayDisplayOptions),e.includes("apple-pay")&&(s.transactionData=Ne("object"==typeof s.transactionData?s.transactionData:{},null==(n=r.digitalWallet.applePay)?void 0:n.transactionData),s.applePay=r.digitalWallet.applePay.applePayDisplayOptions),r.publishableKey&&(s.publishableKey=r.publishableKey),r.jwt&&(s.jwt=r.jwt,s.sandbox="sandbox"===r.apiMode),a.riskMetadata&&(s.riskMetadata=a.riskMetadata),s}({methodIds:n}))),null==r||r.on("ready",()=>{const n=[];e.map(e=>{const{METHOD_ID:r}=Ko(e);t.innerHTML+=`\n <div class="rebilly-instruments-${r}-method" style="height: ${function(e){var t,n;let r;const a=e.optionsExpressPaymentInstrumentsKey;if(!a)return"48px";const{buttonHeight:s,displayOptions:o}=(null==(n=null==(t=Ge.options)?void 0:t.paymentInstruments)?void 0:n[a])||{};return r=o?o.buttonHeight:s,"number"==typeof r&&(r=`${s}px`),r}(e)}"></div>\n `,n.push(Zo({state:Ge,id:r}))}),n.forEach(e=>e())}),null==r||r.on("error",e=>{if("paypal-error"===e.code){const e=document.querySelector(".rebilly-instruments-pay-pal-billing-agreement-method");if(e&&(e.remove(),t.children.length<=0)){const e=document.querySelector('[data-rebilly-instruments="divider"]');e&&e.remove()}}else console.error(e)});const a="sandbox"===Ge.options.apiMode?"https://forms-sandbox.secure-payments.app/approval-url?close=true":"https://forms.secure-payments.app/approval-url?close=true";null==r||r.on("token-ready",e=>{var t,n,r;const s={websiteId:Ge.options.websiteId,billingAddress:e.billingAddress,redirectUrl:a,_raw:e};if((null==(t=Ge.data)?void 0:t.isShippingRequired)&&(e.shippingAddress?s.deliveryAddress=e.shippingAddress:s.deliveryAddress=s.billingAddress),Array.isArray(null==(n=s.billingAddress)?void 0:n.emails)){const e=s.billingAddress.emails.find(e=>"main"===e.label);(null==e?void 0:e.value)&&(s.billingAddress.email=e.value)}if(Array.isArray(null==(r=s.deliveryAddress)?void 0:r.emails)){const e=s.deliveryAddress.emails.find(e=>"main"===e.label);(null==e?void 0:e.value)&&(s.deliveryAddress.email=e.value)}ut.instrumentReady.dispatch(s)})}function Yo({offer:e}){const t=Ge.data.plans.find(t=>t.id===e.planId),n=Ge.data.products.find(e=>e.id===t.productId),r=(e,t)=>e?t:"";const a={...e,quantity:t.pricing.isBracket?null:e.quantity,name:n.name,description:t.name,unitPrice:function(){const e=function(e,t="USD"){const n=Number(e);return Number.isNaN(n)||null==e?"-":new Intl.NumberFormat("en-US",{style:"currency",currency:t}).format(n)}(t.pricing.isBracket?t.pricing.brackets[0].price:t.pricing.price,t.currency);return t.pricing.isBracket?Ge.translate.getTranslation("form.bumpOffer.startingAt").replace("{basePrice}",e):e}()};return`\n <div class="rebilly-instruments-bump-offer-line-item">\n ${s=a,r(s.thumbnail,`\n <figure class="rebilly-instruments-bump-offer-line-item-figure">\n <img src="${s.thumbnail}" :alt="${s.name}"/>\n </figure>\n `)}\n ${(e=>`\n <div class="rebilly-instruments-bump-offer-line-item-synopsis">\n <p class="rebilly-instruments-bump-offer-line-item-synopsis-title">\n ${e.name}\n </p>\n ${r(e.description,`\n <p class="rebilly-instruments-bump-offer-line-item-synopsis-description">\n ${e.description}\n </p>\n `)}\n </div>\n `)(a)}\n ${(e=>`\n <div class="rebilly-instruments-bump-offer-line-item-price-breakdown">\n ${r(e.quantity,`\n <p class="rebilly-instruments-bump-offer-line-item-price-breakdown-quantity">\n ${e.quantity}\n </p>\n <svg class="rebilly-instruments-icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <path d="M12 10.5858l2.8284-2.8284c.3906-.3906 1.0237-.3906 1.4142 0 .3906.3905.3906 1.0236 0 1.4142L13.4142 12l2.8284 2.8284c.3906.3906.3906 1.0237 0 1.4142-.3905.3906-1.0236.3906-1.4142 0L12 13.4142l-2.8284 2.8284c-.3906.3906-1.0237.3906-1.4142 0-.3906-.3905-.3906-1.0236 0-1.4142L10.5858 12 7.7574 9.1716c-.3906-.3906-.3906-1.0237 0-1.4142.3905-.3906 1.0236-.3906 1.4142 0L12 10.5858z" fill-rule="nonzero"/>\n </svg>\n `)}\n <p class="rebilly-instruments-bump-offer-line-item-price-breakdown-unit-price">\n ${e.unitPrice}\n </p>\n <div>\n `)(a)}\n </div>\n `;var s}async function Qo({data:e}){return Wa(async()=>{if(Ve(Ge.storefront),Xe(Ge.options),null==e)throw new Error("Invalid payload.");Ge.storefront.setSessionToken(Ge.options.jwt);const{fields:t}=await Ge.storefront.deposit.create({data:e});return new To(t)})}function ei(e,t=Ge.form){return t.querySelector(`[data-rebilly-instruments="${e}"]`)}function ti(){var e,t,n;const{expressMethods:r}=mo();if(null==(e=Ge.options)?void 0:e.deposit){const e=ei("deposit-back");e&&(e.style.height="0px",e.style.overflow="hidden")}if(r.length){const e=ei("express-methods");e&&(e.style.height="0px",e.style.overflow="hidden")}if(null==(n=null==(t=Ge.options)?void 0:t.bumpOffer)?void 0:n.length){const e=ei("bump-offer");e&&(e.style.height="0px",e.style.overflow="hidden",e.style.marginBottom="0px")}}async function ni(){var e,t,n,r,a,s,o;const i=ei("content"),l=ei("form"),{expressMethods:u,methods:c}=mo();if(u.length){const e=ei("express-methods");if(e)e.style.height="auto";else{i.insertBefore((({expressMethods:e})=>{const t=document.createElement("div");t.classList.add("rebilly-instruments-method-selector"),t.setAttribute("data-rebilly-instruments","express-methods"),t.innerHTML='\n <div class="rebilly-instruments-express-methods ">\n <span data-rebilly-i18n="form.expressCheckout" class="rebilly-instruments-express-methods-label">Express checkout</span>\n <div class="rebilly-instruments-express-methods-container" data-rebilly-instruments="express-methods-container"></div>\n </div>\n <div data-rebilly-instruments="divider" class="rebilly-instruments-divider">\n <span class="rebilly-instruments-divider-label" data-rebilly-i18n="form.or">Or</span>\n </div>\n ';const n=ei("express-methods-container",t);return Ge.options.paymentInstruments.compactExpressInstruments&&e.length&&(t.classList.add("has-express-compact"),n.classList.add("is-compact")),t})({expressMethods:u}),l),Ge.options.digitalWallet=function({expressMethods:e=[]}){var t;const n={},{paymentInstruments:r}=Ge.options,a={countryCode:Ge.options.countryCode,label:Ge.options.websiteId};if(null==(t=Ge.data)?void 0:t.amountAndCurrency){const{amount:e,currency:t}=Ge.data.amountAndCurrency;a.amount=e,a.currency=t}return e.forEach(e=>{var t,s,o,i;const{METHOD_TYPE:l}=Ko(e);"Google Pay"===(null==(t=e.feature)?void 0:t.name)&&(n[l]={transactionData:a,merchantConfig:{merchantName:e.feature.merchantName,merchantOrigin:e.feature.merchantOrigin},googlePayDisplayOptions:r.googlePay.displayOptions}),"Apple Pay"===(null==(s=e.feature)?void 0:s.name)&&(n[l]={transactionData:a,merchantConfig:{merchantName:null==(i=null==(o=r.applePay)?void 0:o.merchantConfig)?void 0:i.merchantName,merchantOrigin:window.location.hostname},applePayDisplayOptions:r.applePay.displayOptions})}),n}({expressMethods:u});Jo({methods:u,container:Ge.form.querySelector('[data-rebilly-instruments="express-methods-container"]')})}}if(null==(t=null==(e=Ge.options)?void 0:e.bumpOffer)?void 0:t.length){const e=ei("bump-offer");if(e)e.style.height="auto",e.style.marginBottom="calc(var(--rebilly-spacingM) + var(--rebilly-fontSizeS))";else{i.insertBefore((()=>{const e=document.createElement("div");return e.classList.add("rebilly-instruments-bump-offers"),e.setAttribute("data-rebilly-instruments","bump-offer"),e})(),l);!function({container:e}){e.insertAdjacentHTML("beforeEnd",`\n <label for="rebilly-instruments-bump-offer" class="rebilly-instruments-form-field-checkbox">\n <div class="rebilly-instruments-bump-offer-label" data-rebilly-i18n="form.bumpOffer.title">\n ${Ge.translate.getTranslation("form.bumpOffer.title")}\n </div>\n <input\n type="checkbox"\n id="rebilly-instruments-bump-offer"\n />\n <span></span>\n </label>\n `);const t=document.getElementById("rebilly-instruments-bump-offer");t.addEventListener("click",async()=>{Ge.data.acceptBumpOffer=t.checked,await Ya(),Ge.updateModel()}),t.checked=Ge.data.acceptBumpOffer,Ge.options.bumpOffer.forEach(t=>{const n=document.createElement("div");n.classList.add("rebilly-instruments-bump-offer"),n.insertAdjacentHTML("beforeEnd",Yo({offer:t})),e.appendChild(n)})}({container:ei("bump-offer")})}}if(c.length){const e=ze.form;e||await ai();const t=Ge.toModel(),i={options:t.options,data:t.data};null==(n=null==e?void 0:e.component)||n.call("route",{name:"method-switch"}),null==(r=null==e?void 0:e.component)||r.call("update",i),(null==(s=null==(a=null==e?void 0:e.component)?void 0:a.events)?void 0:s["restart-payment-flow"])||null==(o=null==e?void 0:e.component)||o.on("restart-payment-flow",async e=>{if(null==e?void 0:e.createNewDeposit){const t=await Qo({data:{depositRequestId:e.depositRequestId,amount:e.amount}});if(t.approvalUrl)return void window.location.assign(t.approvalUrl)}Ge.data.isPurchase&&ts(),ni()})}else Ge.loader.stopLoading({id:"rebilly-instruments-form"}),Ge.form.querySelector('[data-rebilly-instruments="form"]').style.display="none",document.querySelectorAll('[data-rebilly-instruments="divider"]').forEach(e=>{e.style.display="none"});Ge.translate.translateItems()}const ri=()=>'\n<div data-rebilly-instruments="content" class="rebilly-instruments-content">\n <div data-rebilly-instruments="content-error" id="rebilly-instruments-error"></div>\n <div data-rebilly-instruments="form"></div>\n</div>\n';async function ai(){var e;Ge.form.innerHTML+=ri();const t=Ge.form.querySelector('[data-rebilly-instruments="form"]'),{paymentMethodsUrl:n}=(null==(e=null==Ge?void 0:Ge.options)?void 0:e._computed)||{},r="rebilly-instruments-form",a=Ge.toModel(),s={name:r,url:`${n}?name=${r}`,container:t,model:{options:a.options,data:a.data,mainStyleVars:a.mainStyleVars}},o=await new xt(s);return o.bindEventListeners({loader:Ge.loader}),ze.form=o,Ge.loader.stopLoading({id:"rebilly-instruments-form"}),{then:e=>e()}}function si(){var e;(null==(e=Ge.options)?void 0:e.deposit)?async function(){var e,t,n;Ge.data.money&&(Ge.data.money.amount=null,Ge.data.money.currency=null,Ge.updateModel());const r=ze.form;r||await ai();const a=Ge.toModel(),s={options:a.options,data:a.data};null==(e=r.component)||e.call("route",{name:"amount-selector"}),null==(t=r.component)||t.call("update",s),null==(n=null==r?void 0:r.component)||n.on("confirm-amount",async e=>{const{amount:t,currency:n}=e,{depositRequestId:r}=Ge.options.deposit;Ge.data.money={amount:t,currency:n};const a=await Qo({data:{depositRequestId:r,amount:t}});a&&(Ge.data.transaction=a,Ge.options.transactionId=a.id);const s=await Bo();Ge.data.readyToPay=s,Ge.updateModel(),ni()})}():ni()}function oi({element:e="div",attributes:t={},content:n=null,target:r="body",insertMethod:a="append"}={}){const s=document.createElement(e);Object.entries(t).forEach(([e,t])=>{s.setAttribute(e,t)}),n&&(s.innerHTML=n),r instanceof ShadowRoot?r.prepend(s):document[r][a](s)}const ii=({element:e=""})=>{const{options:t}=Ge;if("form"!==e&&"summary"!==e)throw new Error('element must be "form", or "summary"');return function({prop:e,propName:t="Mounting",isRequired:n=!0}={}){let r;if(void 0===e)throw new Error('processPropertyDOMElement: Missing argument "prop"');if(le(e))r=e;else{if("string"!=typeof e||"string"!=typeof(a=e)||!a.match(/([.#][_a-z]+[_a-z0-9-:\\]*)/gi))throw new Error(`Please provide a valid CSS class, id or DOM element for "${t}" property`);r=document.querySelector(e)}var a;if(!r&&n)throw new Error(`Could not find DOM element with CSS class or id "${e}" to mount ${t}`);return r}({prop:null!=t&&t[e]?t[e]:"summary"===e?".rebilly-instruments-summary":".rebilly-instruments",propName:e,isRequired:["form"].includes(e)})},li=()=>{Xe(Ge.options);const{publishableKey:e,organizationId:t,apiMode:n,_dev:r,_internalOptions:a}=Ge.options,s={organizationId:t,mode:n||"live",appName:null==a?void 0:a.appName};return e&&(s.publishableKey=e),r&&(s.liveUrl=r.liveUrl||"https://api.rebilly.com",s.sandboxUrl=r.sandboxUrl||"https://api-sandbox.rebilly.com"),((e={})=>new za(e))(s)};function ui(e){this.message=e}ui.prototype=new Error,ui.prototype.name="InvalidCharacterError";var ci="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new ui("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,a=0,s=0,o="";r=t.charAt(s++);~r&&(n=a%4?64*n+r:r,a++%4)?o+=String.fromCharCode(255&n>>(-2*a&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return o};function di(e){this.message=e}function pi(e,t){if("string"!=typeof e)throw new di("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return decodeURIComponent(ci(t).replace(/(.)/g,function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}catch(n){return ci(t)}}(e.split(".")[n]))}catch(r){throw new di("Invalid token specified: "+r.message)}}function mi(e){var t,n,r,a,s,o,i,l,u,c;const d=function(e){return Object.assign(JSON.parse(JSON.stringify(e)),{form:e.form||".rebilly-instruments",summary:e.summary||".rebilly-instruments-summary"})}(e);return{form:".rebilly-instruments",summary:".rebilly-instruments-summary",transactionType:"purchase",countryCode:"US",locale:"auto",bumpOffer:[],addons:[],...d,paymentInstruments:{compactExpressInstruments:!1,allowDeactivate:!1,allowUpdate:!1,allowMakeDefault:!1,allowCreate:!0,...d.paymentInstruments||{},address:{name:"default",region:"default",show:[],hide:[],require:[],...(null==(t=d.paymentInstruments)?void 0:t.address)||{}},paypal:{buttonHeight:48,...(null==(n=d.paymentInstruments)?void 0:n.paypal)||{}},googlePay:{...(null==(r=d.paymentInstruments)?void 0:r.googlePay)||{},displayOptions:{buttonColor:"black",buttonHeight:"48px",buttonType:"plain",...(null==(s=null==(a=d.paymentInstruments)?void 0:a.googlePay)?void 0:s.displayOptions)||{}}},applePay:{...(null==(o=d.paymentInstruments)?void 0:o.applePay)||{},displayOptions:{buttonColor:"black",buttonHeight:"48px",buttonType:"plain",...(null==(l=null==(i=d.paymentInstruments)?void 0:i.applePay)?void 0:l.displayOptions)||{}}},paymentCard:{input:"default",...(null==(u=d.paymentInstruments)?void 0:u.paymentCard)||{}},additionalFields:{show:[],require:[],...(null==(c=d.paymentInstruments)?void 0:c.additionalFields)||{}}},theme:{colorPrimary:"#0044d4",colorBackground:"#FFFFFF",colorText:"#0D2B3E",colorDanger:"#CD5C5C",borderRadius:"4px",labels:"stacked",fontFamily:"-apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial sans-serif",fontSizeBase:"16px",fontWeightBase:"400",fontLineHeightBase:"24px",fontSmooth:"auto",headingFontWeight:"500",buttonColorText:"#FFFFFF",buttonBorder:"1px solid transparent",buttonBoxShadow:"none",buttonSecondaryBoxShadow:"none",buttonHoverBoxShadow:"none",buttonSecondaryHoverBoxShadow:"none",buttonActiveBoxShadow:"none",buttonSecondaryActiveBoxShadow:"none",...d.theme||{}},features:{enableLeadSourceTracking:!0,enableTelemetry:!0,hideConfirmation:!1,hideResult:!1,fullPageRedirect:!1,hideContinue:!1,hideZeroAmountSummaryItems:!1,...d.features||{}}}}di.prototype=new Error,di.prototype.name="InvalidTokenError";const fi=({options:e={}}={})=>{let t=mi(e);return t&&(t=function(e){if(e.jwt&&!e.publishableKey){const{merchant:t,claims:{transactionId:n,invoiceId:r,websiteId:a,cashierRequestId:s}}=pi(e.jwt);Object.entries({organizationId:t,transactionId:n,invoiceId:r,websiteId:a}).forEach(([t,n])=>{n&&(e[t]=n)}),s&&!e.deposit&&(e.deposit=Object.assign({},{depositRequestId:s}))}return e}(t),t=function(e){var t;return!Do(e.deposit)&&(null==(t=e.deposit)?void 0:t.currency)?(e.deposit=Ne({editable:!0,buttons:[],customAmount:{minimum:1,maximum:1e12,multipleOf:1}},e.deposit||{}),Number.isNaN(e.deposit.amount)&&e.deposit.buttons&&e.deposit.buttons.length>0&&([e.deposit.amount]=e.deposit.buttons)):Do(e.deposit)&&(e.deposit=Ne({customAmount:{minimum:1,maximum:1e12,multipleOf:1}},e.deposit||{})),e.items&&(e.items=e.items.map(e=>({...e,quantity:Ga(e)}))),e}(t),t=function(e){var t;return Object.assign({},e,{_computed:{version:"0.0.0",paymentMethodsUrl:(null==(t=e._dev)?void 0:t.paymentMethodsUrl)??"https://forms.secure-payments.app"}})}(t)),t};function yi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const hi=yi({aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}),gi="a-f\\d",bi=`#?[${gi}]{3}[${gi}]?`,vi=`#?[${gi}]{6}([${gi}]{2})?`,wi=new RegExp(`[^#${gi}]`,"gi"),ki=new RegExp(`^${bi}$|^${vi}$`,"i");const xi=yi((e,t={})=>{if("string"!=typeof e||wi.test(e)||!ki.test(e))throw new TypeError("Expected a valid hex string");let n=1;8===(e=e.replace(/^#/,"")).length&&(n=Number.parseInt(e.slice(6,8),16)/255,e=e.slice(0,6)),4===e.length&&(n=Number.parseInt(e.slice(3,4).repeat(2),16)/255,e=e.slice(0,3)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);const r=Number.parseInt(e,16),a=r>>16,s=r>>8&255,o=255&r,i="number"==typeof t.alpha?t.alpha:n;if("array"===t.format)return[a,s,o,i];if("css"===t.format){return`rgb(${a} ${s} ${o}${1===i?"":` / ${Number((100*i).toFixed(2))}%`})`}return{red:a,green:s,blue:o,alpha:i}});var Si=new RegExp(/^#([a-f0-9]{3,4}|[a-f0-9]{4}(?:[a-f0-9]{2}){1,2})\b$/,"i");const Pi="-?\\d*(?:\\.\\d+)",Ci=`(${Pi}?)`,Bi=`(${Pi}?%)`,Ai=`(${Pi}?%?)`,Li=`^\n hsla?\\(\n \\s*(-?\\d*(?:\\.\\d+)?(?:deg|rad|turn)?)\\s*,\n \\s*${Bi}\\s*,\n \\s*${Bi}\\s*\n (?:,\\s*${Ai}\\s*)?\n \\)\n $\n`.replace(/\n|\s/g,"");var Ei=new RegExp(Li);const Ii=`^\n hsla?\\(\n \\s*(-?\\d*(?:\\.\\d+)?(?:deg|rad|turn)?)\\s*\n \\s+${Bi}\n \\s+${Bi}\n \\s*(?:\\s*\\/\\s*${Ai}\\s*)?\n \\)\n $\n`.replace(/\n|\s/g,"");var Ti=new RegExp(Ii);const Mi=`^\n rgba?\\(\n \\s*${Ci}\\s*,\n \\s*${Ci}\\s*,\n \\s*${Ci}\\s*\n (?:,\\s*${Ai}\\s*)?\n \\)\n $\n`.replace(/\n|\s/g,"");var $i=new RegExp(Mi);const Ri=`^\n rgba?\\(\n \\s*${Bi}\\s*,\n \\s*${Bi}\\s*,\n \\s*${Bi}\\s*\n (?:,\\s*${Ai}\\s*)?\n \\)\n $\n`.replace(/\n|\s/g,"");var Fi=new RegExp(Ri);const Hi=`^\n rgba?\\(\n \\s*${Ci}\n \\s+${Ci}\n \\s+${Ci}\n \\s*(?:\\s*\\/\\s*${Ai}\\s*)?\n \\)\n$\n`.replace(/\n|\s/g,"");var Ni=new RegExp(Hi);const Oi=`^\n rgba?\\(\n \\s*${Bi}\n \\s+${Bi}\n \\s+${Bi}\n \\s*(?:\\s*\\/\\s*${Ai}\\s*)?\n \\)\n$\n`.replace(/\n|\s/g,"");var Ui=new RegExp(Oi);var _i=new RegExp(/^transparent$/,"i");const ji=(e,t,n)=>Math.min(Math.max(t,e),n),qi=e=>{let t=e;return"number"!=typeof t&&(t=t.endsWith("%")?255*parseFloat(t)/100:parseFloat(t)),ji(Math.round(t),0,255)},Di=e=>ji(parseFloat(e),0,100);function Wi(e){let t=e;return"number"!=typeof t&&(t=t.endsWith("%")?parseFloat(t)/100:parseFloat(t)),ji(t,0,1)}function zi([,e,t,n,r=1]){return{type:"rgb",values:[e,t,n].map(qi),alpha:Wi(null===r?1:r)}}
|
|
26
|
+
*/function va(e){return!0===ba(e)&&"[object Object]"===Object.prototype.toString.call(e)}const wa=function(e,t){switch(ga(e)){case"array":return e.slice();case"object":return Object.assign({},e);case"date":return new e.constructor(Number(e));case"map":return new Map(e);case"set":return new Set(e);case"buffer":return function(e){const t=e.length,n=Buffer.allocUnsafe?Buffer.allocUnsafe(t):Buffer.from(t);return e.copy(n),n}(e);case"symbol":return function(e){return ha?Object(ha.call(e)):{}}(e);case"arraybuffer":return function(e){const t=new e.constructor(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}(e);case"float32array":case"float64array":case"int16array":case"int32array":case"int8array":case"uint16array":case"uint32array":case"uint8clampedarray":case"uint8array":return function(e){return new e.constructor(e.buffer,e.byteOffset,e.length)}(e);case"regexp":return function(e){const t=void 0!==e.flags?e.flags:/\w+$/.exec(e)||void 0,n=new e.constructor(e.source,t);return n.lastIndex=e.lastIndex,n}(e);case"error":return Object.create(e);default:return e}},xa=fa,Sa=function(e){var t,n;return!(!1===va(e)||(t=e.constructor,"function"!=typeof t)||(n=t.prototype,!1===va(n))||!1===n.hasOwnProperty("isPrototypeOf"))};function Pa(e,t){switch(xa(e)){case"object":return function(e,t){if("function"==typeof t)return t(e);if(t||Sa(e)){const n=new e.constructor;for(let r in e)n[r]=Pa(e[r],t);return n}return e}(e,t);case"array":return function(e,t){const n=new e.constructor(e.length);for(let r=0;r<e.length;r++)n[r]=Pa(e[r],t);return n}(e,t);default:return wa(e)}}const Ca=pa(Pa);let Ba=class{constructor({id:e=null,created:t=null}={}){this.id=e||((e=21)=>{let t="",n=0|e;for(;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t})(),this.created=t||(new Date).getTime(),this.cancelSource=$r.CancelToken.source(),this.cancel=this.cancelSource.cancel,this.cancelToken=this.cancelSource.token,Yr(this,{exclude:["cancelSource","cancelToken","cancel"]})}};class Aa{constructor(){if(Aa.instance)return Aa.instance;this.requests={},Aa.instance=this}getAll(){return Object.values(this.requests)}getById(e){return this.requests[e]}deleteById(e){this.requests[e]&&delete this.requests[e]}save(){const e=new Ba;return this.requests[e.id]=e,{id:e.id,cancelToken:e.cancelToken}}}const La=new Aa;class Ea{}Jr(Ea,"cancelById",(e,t)=>{try{La.getById(e).cancel(t),La.deleteById(e)}catch{}}),Jr(Ea,"cancelAll",async e=>{for(const t of La.getAll())await t.cancel(e),La.deleteById(t.id)});const Ia=async(...e)=>await Ea.cancelAll(...e),Ta={request:"request",response:"response"},Ma=e=>{if(!Object.values(Ta).includes(e))throw new Error(`There is no such interceptor type as "${e}"`);return!0};function $a({options:e}){const t=$r.create({baseURL:n(),timeout:e.requestTimeout,headers:r()});function n(){let t=e.isSandbox?e.apiEndpoints.sandbox:e.apiEndpoints.live;return e.apiVersion&&(t=`${t}/${e.apiVersion}`),e.organizationId&&(t=`${t}/organizations/${e.organizationId}`),`${t}`}function r(){const t={"REB-API-CONSUMER":`${["Rebilly",e.appName,"js-sdk"].filter(e=>e).join("/")}@9fa6228`};return e.apiKey&&(t["REB-APIKEY"]=e.apiKey),t}function a(){return Ca(t.defaults.headers)}function s(e,{thenDelegate:n,catchDelegate:r=()=>{}}){return Ma(e)&&t.interceptors[Ta[e]].use(n,r)}function o(e,n){return Ma(e)&&t.interceptors[Ta[e]].eject(n)}function i({request:e,isCollection:t,config:n}){const r=c(n),{id:a,cancelToken:s}=La.save();r.cancelToken=s;const o=async function(){try{return function({response:e,isCollection:t,config:n}){return t?new ta(e,n):new Qr(e,n)}({response:await e(r),isCollection:t,config:r})}catch(n){return l({error:n})}finally{La.deleteById(a)}}();return o.cancel=e=>Ea.cancelById(a,e),o}function l({error:e}){if($r.isCancel(e))throw new da(e);if(e.response)switch(Number(e.response.status)){case 401:throw new la(e);case 404:throw new oa(e);case 405:throw new ua(e);case 409:throw new ia(e);case 422:throw new sa(e);default:throw new aa(e)}throw"ECONNABORTED"===e.code?new ca(e):new aa(e)}function u(e){return void 0!==e.params&&(e.params=Object.keys(e.params).filter(t=>null!==e.params[t]&&""!==e.params[t]).reduce((t,n)=>(t[n]=e.params[n],t),{})),e}function c(e={}){return{...u(e)}}function d(e,n={}){return i({request:n=>t.get(e,n),config:{params:n}})}function p(e,n,r={}){let s={};return!1===r.authenticate&&(s={headers:a()},delete s.headers.common["REB-APIKEY"],delete s.headers.common.Authorization),r.params&&(s.params={...r.params}),i({request:r=>t.post(e,n,r),config:s})}function m(e,n,r={}){return i({request:r=>t.put(e,n,r),config:{params:r}})}return{getInstance:function(){return t},addRequestInterceptor:function({thenDelegate:e,catchDelegate:t=()=>{}}){return s(Ta.request,{thenDelegate:e,catchDelegate:t})},removeRequestInterceptor:function(e){o(Ta.request,e)},addResponseInterceptor:function({thenDelegate:e,catchDelegate:t=()=>{}}){return s(Ta.response,{thenDelegate:e,catchDelegate:t})},removeResponseInterceptor:function(e){o(Ta.response,e)},setTimeout:function(n){e.requestTimeout=Number(n),t.defaults.timeout=e.requestTimeout},setProxyAgent:function({host:e,port:n,auth:r}){t.defaults.proxy={host:e,port:n,auth:r}},setSessionToken:function(n=e.jwt){const r=a();e.apiKey=null,e.jwt=n,delete r.common["REB-APIKEY"],r.common.Authorization=`Bearer ${n}`,t.defaults.headers=r},setPublishableKey:function(n=e.publishableKey){const r=a();e.publishableKey=n,r.common.Authorization=`${n}`,t.defaults.headers=r},setEndpoints:function({live:r=null,sandbox:a=null}){r&&(e.apiEndpoints.live=r),a&&(e.apiEndpoints.sandbox=a),t.defaults.baseURL=n()},get:d,getAll:function(e,n){return i({request:n=>t.get(e,n),config:{params:n},isCollection:!0})},post:p,put:m,patch:function(e,n){return i({request:r=>t.patch(e,n,r),config:{}})},delete:function(e){return i({request:n=>t.delete(e,n),config:{}})},deleteAll:function(e,n){return i({request:n=>t.delete(e,n),config:{data:{...n}}})},create:async function(e,t,n,r={}){if(""===t)return p(e,n,{params:r});try{if(200===(await d(e)).response.status)throw new ia({message:"A resource already exists with this ID. Please use a different ID."})}catch(a){if("RebillyNotFoundError"===a.name)return m(e,n,r);throw a}},download:async function(e,n){const r=c(n);try{const n=await t.get(e,r);return new na(n,r)}catch(a){return l({error:a})}}}}const Ra={Accept:"application/pdf"};class Fa{constructor({apiHandler:e}){this.account=function({apiHandler:e}){return{forgotPassword:({data:t})=>e.post("forgot-password",t,{authenticate:!1})}}({apiHandler:e}),this.allowlists=function({apiHandler:e}){return{getAllowlistCollection({filter:t=null,sort:n=null,limit:r=null,offset:a=null}={}){const s={filter:t,sort:n,limit:r,offset:a};return e.getAll("allowlists",s)},storeAllowlist:({data:t})=>e.post("allowlists",t),getAllowlist:({id:t})=>e.get(`allowlists/${t}`),delete:({id:t})=>e.delete(`allowlists/${t}`)}}({apiHandler:e}),this.amlChecks=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null}={}){const o={limit:t,offset:n,sort:r,filter:a,q:s};return e.getAll("aml-checks",o)},get:({id:t})=>e.get(`aml-checks/${t}`),startReview:({id:t})=>e.post(`aml-checks/${t}/start-review`),stopReview:({id:t})=>e.post(`aml-checks/${t}/stop-review`),review:({id:t,data:n})=>e.post(`aml-checks/${t}/review`,n)}}({apiHandler:e}),this.amlSettings=function({apiHandler:e}){return{getAmlSettings:()=>e.get("aml-settings"),putAmlSettings:({data:t})=>e.put("aml-settings",t)}}({apiHandler:e}),this.apiKeys=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null}={}){const s={filter:t,sort:n,limit:r,offset:a};return e.getAll("api-keys",s)},create:({id:t="",data:n})=>e.create(`api-keys/${t}`,t,n),get:({id:t})=>e.get(`api-keys/${t}`),update:({id:t,data:n})=>e.put(`api-keys/${t}`,n),delete:({id:t})=>e.delete(`api-keys/${t}`)}}({apiHandler:e}),this.applicationInstances=function({apiHandler:e}){return{get:({applicationId:t})=>e.get(`application-instances/${t}`),upsert:({applicationId:t,data:n})=>e.put(`application-instances/${t}`,n),delete:({applicationId:t})=>e.delete(`application-instances/${t}`),getConfiguration:({applicationId:t})=>e.get(`application-instances/${t}/configuration`),upsertConfiguration:({applicationId:t,data:n})=>e.put(`application-instances/${t}/configuration`,n)}}({apiHandler:e}),this.applications=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,q:a=null,expand:s=null,fields:o=null,sort:i=null}={}){const l={limit:t,offset:n,filter:r,q:a,expand:s,fields:o,sort:i};return e.getAll("applications",l)},create:({data:t})=>e.post("applications",t),get:({id:t})=>e.get(`applications/${t}`),getInstances({id:t,limit:n=null,offset:r=null}){const a={limit:n,offset:r};return e.getAll(`applications/${t}/instances`,a)},getInstance:({id:t,organizationId:n})=>e.get(`applications/${t}/instances/${n}`)}}({apiHandler:e}),this.balanceTransactions=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null}={}){const s={limit:t,offset:n,filter:r,sort:a};return e.getAll("balance-transactions",s)},get:({id:t})=>e.get(`balance-transactions/${t}`)}}({apiHandler:e}),this.billingPortals=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null}={}){const o={limit:t,offset:n,sort:r,filter:a,q:s};return e.getAll("billing-portals",o)},create:({id:t="",data:n})=>e.create(`billing-portals/${t}`,t,n),get:({id:t})=>e.get(`billing-portals/${t}`),update:({id:t,data:n})=>e.put(`billing-portals/${t}`,n),delete:({id:t})=>e.delete(`billing-portals/${t}`)}}({apiHandler:e}),this.blocklists=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null}={}){const o={limit:t,offset:n,sort:r,filter:a,q:s};return e.getAll("blocklists",o)},create:({id:t="",data:n})=>e.create(`blocklists/${t}`,t,n),get:({id:t})=>e.get(`blocklists/${t}`),delete:({id:t})=>e.delete(`blocklists/${t}`)}}({apiHandler:e}),this.broadcastMessages=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,sort:r=null,filter:a=null}={}){const s={limit:t,offset:n,sort:r,filter:a};return e.getAll("broadcast-messages",s)},create:({data:t})=>e.post("broadcast-messages",t),get:({id:t})=>e.get(`broadcast-messages/${t}`),delete:({id:t})=>e.delete(`broadcast-messages/${t}`),update:({id:t,data:n})=>e.patch(`broadcast-messages/${t}`,n)}}({apiHandler:e}),this.cashiers=function({apiHandler:e}){return{create:({data:t})=>e.post("cashiers",t),get:({id:t})=>e.get(`cashiers/${t}`)}}({apiHandler:e}),this.checkoutForms=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null}={}){const o={limit:t,offset:n,sort:r,filter:a,q:s};return e.getAll("checkout-forms",o)},create:({id:t="",data:n})=>e.create(`checkout-forms/${t}`,t,n),get:({id:t})=>e.get(`checkout-forms/${t}`),update:({id:t,data:n})=>e.put(`checkout-forms/${t}`,n),delete:({id:t})=>e.delete(`checkout-forms/${t}`)}}({apiHandler:e}),this.coupons=function({apiHandler:e}){return{getAllRedemptions({limit:t=null,offset:n=null,filter:r=null,q:a=null,sort:s=null}={}){const o={limit:t,offset:n,filter:r,q:a,sort:s};return e.getAll("coupons-redemptions",o)},redeem:({data:t})=>e.post("coupons-redemptions",t),getRedemption:({id:t})=>e.get(`coupons-redemptions/${t}`),cancelRedemption:({id:t})=>e.post(`coupons-redemptions/${t}/cancel`),getAll({limit:t=null,offset:n=null,filter:r=null,q:a=null,sort:s=null}={}){const o={limit:t,offset:n,filter:r,q:a,sort:s};return e.getAll("coupons",o)},create:({id:t="",data:n})=>e.create(`coupons/${t}`,t,n),get:({id:t})=>e.get(`coupons/${t}`),update:({id:t,data:n})=>e.put(`coupons/${t}`,n),setExpiration:({id:t,data:n})=>e.post(`coupons/${t}/expiration`,n)}}({apiHandler:e}),this.creditMemos=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null,expand:o=null}={}){const i={filter:t,sort:n,limit:r,offset:a,q:s,expand:o};return e.getAll("credit-memos",i)},create:({id:t="",data:n})=>e.create(`credit-memos/${t}`,t,n),get:({id:t})=>e.get(`credit-memos/${t}`),update:({id:t,data:n})=>e.put(`credit-memos/${t}`,n),patch:({id:t,data:n})=>e.patch(`credit-memos/${t}`,n),void:({id:t})=>e.post(`credit-memos/${t}/void`),getAllTimelineMessages({id:t,limit:n=null,offset:r=null,filter:a=null,sort:s=null,q:o=null}){const i={limit:n,offset:r,filter:a,sort:s,q:o};return e.getAll(`credit-memos/${t}/timeline`,i)},createTimelineComment:({id:t,data:n})=>e.post(`credit-memos/${t}/timeline`,n),getTimelineMessage:({id:t,messageId:n})=>e.get(`credit-memos/${t}/timeline/${n}`),deleteTimelineMessage:({id:t,messageId:n})=>e.delete(`credit-memos/${t}/timeline/${n}`)}}({apiHandler:e}),this.customDomains=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null}={}){const o={limit:t,offset:n,sort:r,filter:a,q:s};return e.getAll("custom-domains",o)},create:({data:t})=>e.post("custom-domains",t),get:({domain:t})=>e.get(`custom-domains/${t}`),delete:({domain:t})=>e.delete(`custom-domains/${t}`)}}({apiHandler:e}),this.customFields=function({apiHandler:e}){return{getAll({resource:t,limit:n=null,offset:r=null}){const a={limit:n,offset:r};return e.getAll(`custom-fields/${t}`,a)},get:({resource:t,name:n})=>e.get(`custom-fields/${t}/${n}`),create:({resource:t,name:n,data:r})=>e.put(`custom-fields/${t}/${n}`,r),update:({resource:t,name:n,data:r})=>e.put(`custom-fields/${t}/${n}`,r)}}({apiHandler:e}),this.customerAuthentication=function({apiHandler:e}){return{getAuthOptions:()=>e.get("authentication-options"),updateAuthOptions:({data:t})=>e.put("authentication-options",t),getAllAuthTokens({limit:t=null,offset:n=null}={}){const r={limit:t,offset:n};return e.getAll("authentication-tokens",r)},login:({data:t})=>e.post("authentication-tokens",t),verify:({token:t})=>e.get(`authentication-tokens/${t}`),logout:({token:t})=>e.delete(`authentication-tokens/${t}`),exchangeToken:({token:t,data:n})=>e.post(`authentication-tokens/${t}/exchange`,n),getAllCredentials({limit:t=null,offset:n=null}={}){const r={limit:t,offset:n};return e.getAll("credentials",r)},createCredential:({id:t="",data:n})=>e.create(`credentials/${t}`,t,n),getCredential:({id:t})=>e.get(`credentials/${t}`),updateCredential:({id:t,data:n})=>e.put(`credentials/${t}`,n),deleteCredential:({id:t})=>e.delete(`credentials/${t}`),getAllResetPasswordTokens({limit:t=null,offset:n=null}={}){const r={limit:t,offset:n};return e.getAll("password-tokens",r)},createResetPasswordToken:({data:t})=>e.post("password-tokens",t),getResetPasswordToken:({id:t})=>e.get(`password-tokens/${t}`),deleteResetPasswordToken:({id:t})=>e.delete(`password-tokens/${t}`)}}({apiHandler:e}),this.customers=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,q:a=null,expand:s=null,fields:o=null,sort:i=null}={}){const l={limit:t,offset:n,filter:r,q:a,expand:s,fields:o,sort:i};return e.getAll("customers",l)},create({id:t="",data:n,expand:r=null}){const a={expand:r};return e.create(`customers/${t}`,t,n,a)},get({id:t,expand:n=null,fields:r=null}){const a={expand:n,fields:r};return e.get(`customers/${t}`,a)},update({id:t,data:n,expand:r=null}){const a={expand:r};return e.put(`customers/${t}`,n,a)},merge:({id:t,targetCustomerId:n})=>e.delete(`customers/${t}?targetCustomerId=${n}`),getLeadSource:({id:t})=>e.get(`customers/${t}/lead-source`),createLeadSource:({id:t,data:n})=>e.put(`customers/${t}/lead-source`,n),updateLeadSource:({id:t,data:n})=>e.put(`customers/${t}/lead-source`,n),deleteLeadSource:({id:t})=>e.delete(`customers/${t}/lead-source`),getAllTimelineMessages({id:t,limit:n=null,offset:r=null,filter:a=null,sort:s=null,q:o=null}){const i={limit:n,offset:r,filter:a,sort:s,q:o};return e.getAll(`customers/${t}/timeline`,i)},createTimelineComment:({id:t,data:n})=>e.post(`customers/${t}/timeline`,n),getTimelineMessage:({id:t,messageId:n})=>e.get(`customers/${t}/timeline/${n}`),deleteTimelineMessage:({id:t,messageId:n})=>e.delete(`customers/${t}/timeline/${n}`),getCustomerEddScore:({id:t})=>e.get(`customers/${t}/edd-score`),getEddTimelineCollection({id:t,limit:n=null,offset:r=null,filter:a=null,sort:s=null,q:o=null}){const i={limit:n,offset:r,filter:a,sort:s,q:o};return e.getAll(`customers/${t}/edd-timeline`,i)},getEddTimelineMessage:({id:t,messageId:n})=>e.get(`customers/${t}/edd-timeline/${n}`),getAllEddSearchResults({id:t,limit:n=null,offset:r=null}){const a={limit:n,offset:r};return e.getAll(`customers/${t}/edd-search-results`,a)},getEddSearchResult:({id:t,searchResultId:n})=>e.get(`customers/${t}/edd-search-results/${n}`)}}({apiHandler:e}),this.depositCustomPropertySets=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null}={}){const s={limit:t,offset:n,filter:r,sort:a};return e.getAll("deposit-custom-property-sets",s)},create:({id:t="",data:n})=>e.create(`deposit-custom-property-sets/${t}`,t,n),get:({id:t})=>e.get(`deposit-custom-property-sets/${t}`),update:({id:t,data:n})=>e.put(`deposit-custom-property-sets/${t}`,n),delete:({id:t})=>e.delete(`deposit-custom-property-sets/${t}`)}}({apiHandler:e}),this.depositRequests=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null,expand:s=null}={}){const o={limit:t,offset:n,filter:r,sort:a,expand:s};return e.getAll("deposit-requests",o)},create:({data:t})=>e.post("deposit-requests",t),get({id:t,expand:n=null}){const r={expand:n};return e.get(`deposit-requests/${t}`,r)}}}({apiHandler:e}),this.depositStrategies=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null}={}){const s={limit:t,offset:n,filter:r,sort:a};return e.getAll("deposit-strategies",s)},create:({id:t="",data:n})=>e.create(`deposit-strategies/${t}`,t,n),get:({id:t})=>e.get(`deposit-strategies/${t}`),update:({id:t,data:n})=>e.put(`deposit-strategies/${t}`,n),delete:({id:t})=>e.delete(`deposit-strategies/${t}`)}}({apiHandler:e}),this.digitalWallets=function({apiHandler:e}){return{validate:({data:t})=>e.post("digital-wallets/validation",t),create:({data:t})=>e.post("digital-wallets/onboarding/apple-pay",t)}}({apiHandler:e}),this.disputes=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null,expand:o=null}={}){const i={filter:t,sort:n,limit:r,offset:a,q:s,expand:o};return e.getAll("disputes",i)},create({id:t="",data:n,expand:r=null}){const a={expand:r};return e.create(`disputes/${t}`,t,n,a)},get:({id:t})=>e.get(`disputes/${t}`),update({id:t,data:n,expand:r=null}){const a={expand:r};return e.put(`disputes/${t}`,n,a)}}}({apiHandler:e}),this.emailDeliverySettings=function({apiHandler:e}){return{verify:({token:t})=>e.put(`email-delivery-setting-verifications/${t}`),getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null,q:s=null}={}){const o={limit:t,offset:n,filter:r,sort:a,q:s};return e.getAll("email-delivery-settings",o)},create:({data:t})=>e.post("email-delivery-settings",t),get:({id:t})=>e.get(`email-delivery-settings/${t}`),delete:({id:t})=>e.delete(`email-delivery-settings/${t}`),update:({id:t,data:n})=>e.patch(`email-delivery-settings/${t}`,n),resendVerification:({id:t})=>e.post(`email-delivery-settings/${t}/resend-email-verification`)}}({apiHandler:e}),this.emailMessages=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,q:r=null,sort:a=null,filter:s=null}={}){const o={limit:t,offset:n,q:r,sort:a,filter:s};return e.getAll("email-messages",o)},create:({data:t})=>e.post("email-messages",t),get:({id:t})=>e.get(`email-messages/${t}`),delete:({id:t})=>e.delete(`email-messages/${t}`),send:({id:t,data:n={status:"outbox"}})=>e.patch(`email-messages/${t}`,n)}}({apiHandler:e}),this.emailNotifications=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null}={}){const r={limit:t,offset:n};return e.getAll("email-notifications",r)}}}({apiHandler:e}),this.events=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,q:a=null}={}){const s={limit:t,offset:n,filter:r,q:a};return e.getAll("events",s)},get:({eventType:t})=>e.get(`events/${t}`),getRules:({eventType:t})=>e.get(`events/${t}/rules`),createRules:({eventType:t,data:n})=>e.put(`events/${t}/rules`,n),updateRules:({eventType:t,data:n})=>e.put(`events/${t}/rules`,n),getAllTimelineMessages({eventType:t,limit:n=null,offset:r=null,filter:a=null,sort:s=null,q:o=null}){const i={limit:n,offset:r,filter:a,sort:s,q:o};return e.getAll(`events/${t}/timeline`,i)},createTimelineComment:({eventType:t,data:n})=>e.post(`events/${t}/timeline`,n),getTimelineMessage:({eventType:t,messageId:n})=>e.get(`events/${t}/timeline/${n}`),deleteTimelineMessage:({eventType:t,messageId:n})=>e.delete(`events/${t}/timeline/${n}`),getRulesHistory({eventType:t,limit:n=null,offset:r=null,filter:a=null,q:s=null,sort:o=null,fields:i=null}){const l={limit:n,offset:r,filter:a,q:s,sort:o,fields:i};return e.getAll(`events/${t}/rules/history`,l)},getRulesVersionNumber({eventType:t,version:n,fields:r=null}){const a={fields:r};return e.get(`events/${t}/rules/history/${n}`,a)},getRulesVersionDetail({eventType:t,version:n,fields:r=null}){const a={fields:r};return e.get(`events/${t}/rules/versions/${n}`,a)},getAllDraftRulesets({eventType:t,limit:n=null,offset:r=null,filter:a=null,q:s=null,sort:o=null,fields:i=null}){const l={limit:n,offset:r,filter:a,q:s,sort:o,fields:i};return e.getAll(`events/${t}/rules/drafts`,l)},createDraftRuleset:({eventType:t,data:n})=>e.post(`events/${t}/rules/drafts`,n),getDraftRuleset({eventType:t,id:n,fields:r=null}){const a={fields:r};return e.get(`events/${t}/rules/drafts/${n}`,a)},updateDraftRuleset:({eventType:t,id:n,data:r})=>e.put(`events/${t}/rules/drafts/${n}`,r),deleteDraftRuleset:({eventType:t,id:n})=>e.delete(`events/${t}/rules/drafts/${n}`)}}({apiHandler:e}),this.externalIdentifiers=function({apiHandler:e}){return{get:({resource:t,resourceId:n,service:r})=>e.get(`${t}/${n}/external-identifiers/${r}`),sync:({resource:t,resourceId:n,service:r})=>e.post(`${t}/${n}/external-identifiers/${r}`),update:({resource:t,resourceId:n,service:r,data:a})=>e.put(`${t}/${n}/external-identifiers/${r}`,a),delete:({resource:t,resourceId:n,service:r})=>e.delete(`${t}/${n}/external-identifiers/${r}`)}}({apiHandler:e}),this.externalServicesSettings=function({apiHandler:e}){return{getExternalServiceSettings:()=>e.get("external-services-settings"),updateExternalServiceSettings:({data:t})=>e.put("external-services-settings",t)}}({apiHandler:e}),this.fees=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null}={}){const s={limit:t,offset:n,filter:r,sort:a};return e.getAll("fees",s)},create:({id:t="",data:n})=>e.create(`fees/${t}`,t,n),get:({id:t})=>e.get(`fees/${t}`),upsert:({id:t,data:n})=>e.put(`fees/${t}`,n),delete:({id:t})=>e.delete(`fees/${t}`),patch:({id:t,data:n})=>e.patch(`fees/${t}`,n)}}({apiHandler:e}),this.files=function({apiHandler:e}){return{getAllAttachments({limit:t=null,offset:n=null,filter:r=null,q:a=null,expand:s=null,fields:o=null,sort:i=null}={}){const l={limit:t,offset:n,filter:r,q:a,expand:s,fields:o,sort:i};return e.getAll("attachments",l)},attach({id:t="",data:n,expand:r=null}){const a={expand:r};return e.create(`attachments/${t}`,t,n,a)},getAttachment:({id:t})=>e.get(`attachments/${t}`),updateAttachment({id:t,data:n,expand:r=null}){const a={expand:r};return e.put(`attachments/${t}`,n,a)},detach:({id:t})=>e.delete(`attachments/${t}`),getAll({limit:t=null,offset:n=null,filter:r=null,q:a=null,fields:s=null,sort:o=null}={}){const i={limit:t,offset:n,filter:r,q:a,fields:s,sort:o};return e.getAll("files",i)},upload:({fileObject:t})=>e.post("files",t),get:({id:t})=>e.get(`files/${t}`),update:({id:t,data:n})=>e.put(`files/${t}`,n),delete:({id:t})=>e.delete(`files/${t}`),download:({id:t})=>e.download(`files/${t}/download`,{responseType:"arraybuffer"}),detachAndDelete({id:t}){const n={filter:`fileId:${t}`};let r=[];const a=(async()=>{const a=this.getAllAttachments(n);r.push(a);const s=(await a).items.map(e=>this.detach({id:e.fields.id}));r=[...r,s],await Promise.all(s);const o=e.delete(`files/${t}`);return r.push(o),o})();return a.cancel=()=>{r.forEach(e=>e.cancel())},a},uploadAndUpdate({fileObject:e,data:t={description:"",tags:[""]}}){const n=[],r=(async()=>{const r=this.upload({fileObject:e});n.push(r),await r;const a={name:r.name,extension:r.extension,description:t.description,tags:t.tags,url:""},s=this.update({id:r.fields.id,data:a});return n.push(s),s})();return r.cancel=()=>{n.forEach(e=>e.cancel())},r}}}({apiHandler:e}),this.gatewayAccounts=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null,fields:o=null}={}){const i={limit:t,offset:n,sort:r,filter:a,q:s,fields:o};return e.getAll("gateway-accounts",i)},create:({id:t="",data:n})=>e.create(`gateway-accounts/${t}`,t,n),get:({id:t})=>e.get(`gateway-accounts/${t}`),upsert:({id:t,data:n})=>e.put(`gateway-accounts/${t}`,n),delete:({id:t})=>e.delete(`gateway-accounts/${t}`),update:({id:t,data:n})=>e.patch(`gateway-accounts/${t}`,n),close:({id:t})=>e.post(`gateway-accounts/${t}/close`),disable:({id:t})=>e.post(`gateway-accounts/${t}/disable`),getAllDowntimeSchedules({id:t,limit:n=null,offset:r=null,filter:a=null,sort:s=null}){const o={limit:n,offset:r,filter:a,sort:s};return e.getAll(`gateway-accounts/${t}/downtime-schedules`,o)},createDowntimeSchedule:({id:t,data:n})=>e.post(`gateway-accounts/${t}/downtime-schedules`,n),getDowntimeSchedule:({id:t,downtimeId:n})=>e.get(`gateway-accounts/${t}/downtime-schedules/${n}`),updateDowntimeSchedule:({id:t,downtimeId:n,data:r})=>e.put(`gateway-accounts/${t}/downtime-schedules/${n}`,r),deleteDowntimeSchedule:({id:t,downtimeId:n})=>e.delete(`gateway-accounts/${t}/downtime-schedules/${n}`),enable:({id:t})=>e.post(`gateway-accounts/${t}/enable`),getAllVolumeLimits:({id:t})=>e.getAll(`gateway-accounts/${t}/limits`),getVolumeLimit:({id:t,limitId:n})=>e.get(`gateway-accounts/${t}/limits/${n}`),updateVolumeLimit:({id:t,limitId:n,data:r})=>e.put(`gateway-accounts/${t}/limits/${n}`,r),deleteVolumeLimit:({id:t,limitId:n})=>e.delete(`gateway-accounts/${t}/limits/${n}`),getAllTimelineMessages({id:t,limit:n=null,offset:r=null,filter:a=null,sort:s=null,q:o=null}){const i={limit:n,offset:r,filter:a,sort:s,q:o};return e.getAll(`gateway-accounts/${t}/timeline`,i)},createTimelineComment:({id:t,data:n})=>e.post(`gateway-accounts/${t}/timeline`,n),getTimelineMessage:({id:t,messageId:n})=>e.get(`gateway-accounts/${t}/timeline/${n}`),deleteTimelineMessage:({id:t,messageId:n})=>e.delete(`gateway-accounts/${t}/timeline/${n}`),checkCredentials:({id:t})=>e.post(`gateway-accounts/${t}/check-credentials`),getFinancialSettings:({id:t})=>e.get(`gateway-accounts/${t}/financial-settings`),setFinancialSettings:({id:t,data:n})=>e.put(`gateway-accounts/${t}/financial-settings`,n)}}({apiHandler:e}),this.integrations=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null}={}){const r={limit:t,offset:n};return e.getAll("integrations",r)},get:({label:t})=>e.get(`integrations/${t}`)}}({apiHandler:e}),this.invoices=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null,expand:o=null}={}){const i={filter:t,sort:n,limit:r,offset:a,q:s,expand:o};return e.getAll("invoices",i)},create:({id:t="",data:n})=>e.create(`invoices/${t}`,t,n),get({id:t,expand:n=null}){const r={expand:n};return e.get(`invoices/${t}`,r)},update:({id:t,data:n})=>e.put(`invoices/${t}`,n),getAllInvoiceItems({id:t,limit:n=null,offset:r=null,expand:a=null}){const s={limit:n,offset:r,expand:a};return e.getAll(`invoices/${t}/items`,s)},createInvoiceItem:({id:t,data:n})=>e.post(`invoices/${t}/items`,n),getInvoiceItem:({id:t,itemId:n})=>e.get(`invoices/${t}/items/${n}`),updateInvoiceItem:({id:t,itemId:n,data:r})=>e.put(`invoices/${t}/items/${n}`,r),deleteInvoiceItem:({id:t,itemId:n})=>e.delete(`invoices/${t}/items/${n}`),issue:({id:t,data:n})=>e.post(`invoices/${t}/issue`,n),abandon:({id:t})=>e.post(`invoices/${t}/abandon`),void:({id:t})=>e.post(`invoices/${t}/void`),recalculate:({id:t})=>e.post(`invoices/${t}/recalculate`),reissue:({id:t,data:n})=>e.post(`invoices/${t}/reissue`,n),getAllTransactionAllocations({id:t,limit:n=null,offset:r=null}){const a={limit:n,offset:r};return e.getAll(`invoices/${t}/transaction-allocations`,a)},applyTransaction:({id:t,data:n})=>e.post(`invoices/${t}/transaction`,n),getAllTimelineMessages({id:t,limit:n=null,offset:r=null,filter:a=null,sort:s=null,q:o=null}){const i={limit:n,offset:r,filter:a,sort:s,q:o};return e.getAll(`invoices/${t}/timeline`,i)},createTimelineComment:({id:t,data:n})=>e.post(`invoices/${t}/timeline`,n),getTimelineMessage:({id:t,messageId:n})=>e.get(`invoices/${t}/timeline/${n}`),deleteTimelineMessage:({id:t,messageId:n})=>e.delete(`invoices/${t}/timeline/${n}`),downloadPDF({id:t}){const n={headers:Ra,responseType:"arraybuffer"};return e.download(`invoices/${t}`,n)}}}({apiHandler:e}),this.journalAccounts=function({apiHandler:e}){return{getAllAccounts({limit:t=null,offset:n=null,filter:r=null,sort:a=null}={}){const s={limit:t,offset:n,filter:r,sort:a};return e.getAll("journal-accounts",s)},createAccount:({id:t="",data:n})=>e.create(`journal-accounts/${t}`,t,n),getAccount:({id:t})=>e.get(`journal-accounts/${t}`),updateAccount:({id:t,data:n})=>e.put(`journal-accounts/${t}`,n)}}({apiHandler:e}),this.journalEntries=function({apiHandler:e}){return{getAllEntries({limit:t=null,offset:n=null,filter:r=null,sort:a=null}={}){const s={limit:t,offset:n,filter:r,sort:a};return e.getAll("journal-entries",s)},createEntry:({id:t="",data:n})=>e.create(`journal-entries/${t}`,t,n),getEntry:({id:t})=>e.get(`journal-entries/${t}`),updateEntry:({id:t,data:n})=>e.put(`journal-entries/${t}`,n)}}({apiHandler:e}),this.journalRecords=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null,expand:s=null}={}){const o={limit:t,offset:n,filter:r,sort:a,expand:s};return e.getAll("journal-records",o)},create:({id:t="",data:n})=>e.create(`journal-records/${t}`,t,n),get:({id:t})=>e.get(`journal-records/${t}`),update:({id:t,data:n})=>e.put(`journal-records/${t}`,n),delete:({id:t})=>e.delete(`journal-records/${t}`)}}({apiHandler:e}),this.kycDocuments=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null,expand:s=null}={}){const o={limit:t,offset:n,filter:r,sort:a,expand:s};return e.getAll("kyc-documents",o)},create:({id:t="",data:n})=>e.create(`kyc-documents/${t}`,t,n),get:({id:t})=>e.get(`kyc-documents/${t}`),update:({id:t,data:n})=>e.put(`kyc-documents/${t}`,n),accept:({id:t})=>e.post(`kyc-documents/${t}/acceptance`),matches:({id:t,data:n})=>e.post(`kyc-documents/${t}/matches`,n),reject:({id:t,data:n})=>e.post(`kyc-documents/${t}/rejection`,n),review:({id:t})=>e.post(`kyc-documents/${t}/review`),startReview:({id:t})=>e.post(`kyc-documents/${t}/start-review`),stopReview:({id:t})=>e.post(`kyc-documents/${t}/stop-review`)}}({apiHandler:e}),this.kycRequests=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null,expand:s=null}={}){const o={limit:t,offset:n,filter:r,sort:a,expand:s};return e.getAll("kyc-requests",o)},create:({data:t})=>e.post("kyc-requests",t),get:({id:t})=>e.get(`kyc-requests/${t}`),delete:({id:t})=>e.delete(`kyc-requests/${t}`),update:({id:t,data:n})=>e.patch(`kyc-requests/${t}`,n)}}({apiHandler:e}),this.kycSettings=function({apiHandler:e}){return{getKycSettings:()=>e.get("kyc-settings"),updateKycSettings:({data:t})=>e.put("kyc-settings",t)}}({apiHandler:e}),this.lists=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null,fields:s=null,q:o=null}={}){const i={limit:t,offset:n,filter:r,sort:a,fields:s,q:o};return e.getAll("lists",i)},create:({id:t="",data:n})=>e.create(`lists/${t}`,t,n),getLatestVersion:({id:t})=>e.get(`lists/${t}`),update:({id:t,data:n})=>e.put(`lists/${t}`,n),delete:({id:t})=>e.delete(`lists/${t}`),getByVersion:({id:t,version:n})=>e.get(`lists/${t}/${n}`)}}({apiHandler:e}),this.memberships=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null}={}){const s={limit:t,offset:n,filter:r,sort:a};return e.getAll("memberships",s)},get:({organizationId:t,userId:n})=>e.get(`memberships/${t}/${n}`),update:({organizationId:t,userId:n,data:r})=>e.put(`memberships/${t}/${n}`,r),delete:({organizationId:t,userId:n})=>e.delete(`memberships/${t}/${n}`)}}({apiHandler:e}),this.organizationExports=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,q:a=null,sort:s=null}={}){const o={limit:t,offset:n,filter:r,q:a,sort:s};return e.getAll("organization-exports",o)},create:({data:t})=>e.post("organization-exports",t),get:({id:t})=>e.get(`organization-exports/${t}`)}}({apiHandler:e}),this.organizations=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null,q:s=null}={}){const o={limit:t,offset:n,filter:r,sort:a,q:s};return e.getAll("organizations",o)},create:({data:t})=>e.post("organizations",t),get:({id:t})=>e.get(`organizations/${t}`),update:({id:t,data:n})=>e.patch(`organizations/${t}`,n)}}({apiHandler:e}),this.paymentCardsBankNames=function({apiHandler:e}){return{getAll({limit:t=null,q:n=null}={}){const r={limit:t,q:n};return e.getAll("payment-cards-bank-names",r)}}}({apiHandler:e}),this.paymentInstruments=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null,expand:o=null}={}){const i={filter:t,sort:n,limit:r,offset:a,q:s,expand:o};return e.getAll("payment-instruments",i)},create:({data:t})=>e.post("payment-instruments",t),get:({id:t})=>e.get(`payment-instruments/${t}`),update:({id:t,data:n})=>e.patch(`payment-instruments/${t}`,n),deactivate:({id:t})=>e.post(`payment-instruments/${t}/deactivation`),nameInquiry:({id:t,data:n})=>e.post(`payment-instruments/${t}/name-inquiry`,n)}}({apiHandler:e}),this.paymentMethods=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null}={}){const r={limit:t,offset:n};return e.getAll("payment-methods",r)},get:({apiName:t})=>e.get(`payment-methods/${t}`)}}({apiHandler:e}),this.paymentTokens=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null}={}){const r={limit:t,offset:n};return e.getAll("tokens",r)},create:({data:t})=>e.post("tokens",t),get:({token:t})=>e.get(`tokens/${t}`)}}({apiHandler:e}),this.payoutRequests=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null}={}){const s={limit:t,offset:n,filter:r,sort:a};return e.getAll("payout-requests",s)},create:({id:t="",data:n})=>e.create(`payout-requests/${t}`,t,n),get:({id:t})=>e.get(`payout-requests/${t}`),update:({id:t,data:n})=>e.put(`payout-requests/${t}`,n),cancel:({id:t,data:n})=>e.post(`payout-requests/${t}/cancel`,n),getPaymentInstruments:({id:t})=>e.get(`payout-requests/${t}/payment-instruments`)}}({apiHandler:e}),this.payouts=function({apiHandler:e}){return{create:({data:t})=>e.post("payouts",t)}}({apiHandler:e}),this.plans=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null}={}){const o={filter:t,sort:n,limit:r,offset:a,q:s};return e.getAll("plans",o)},create:({id:t="",data:n})=>e.create(`plans/${t}`,t,n),get:({id:t})=>e.get(`plans/${t}`),update:({id:t,data:n})=>e.put(`plans/${t}`,n),delete:({id:t})=>e.delete(`plans/${t}`)}}({apiHandler:e}),this.previews=function({apiHandler:e}){return{order:({data:t})=>e.post("previews/orders",t),sendEmailRuleAction:({data:t})=>e.post("previews/rule-actions/send-email",t),webhook:({data:t})=>e.post("previews/webhooks",t)}}({apiHandler:e}),this.products=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null}={}){const o={filter:t,sort:n,limit:r,offset:a,q:s};return e.getAll("products",o)},create:({id:t="",data:n})=>e.create(`products/${t}`,t,n),get:({id:t})=>e.get(`products/${t}`),update:({id:t,data:n})=>e.put(`products/${t}`,n),delete:({id:t})=>e.delete(`products/${t}`)}}({apiHandler:e}),this.profile=function({apiHandler:e}){return{startPermissionsEmulation:({data:t})=>e.post("permissions-emulation",t),stopPermissionsEmulation:()=>e.delete("permissions-emulation"),get:()=>e.get("profile"),update:({data:t})=>e.put("profile",t),getMfa:()=>e.get("profile/mfa"),updateMfa:()=>e.post("profile/mfa"),deleteMfa:()=>e.delete("profile/mfa")}}({apiHandler:e}),this.purchase=function({apiHandler:e}){return{readyToPay:({data:t})=>e.post("ready-to-pay",t)}}({apiHandler:e}),this.quotes=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,expand:s=null}={}){const o={filter:t,sort:n,limit:r,offset:a,expand:s};return e.getAll("quotes",o)},create:({id:t="",data:n})=>e.create(`quotes/${t}`,t,n),get({id:t,expand:n=null}){const r={expand:n};return e.get(`quotes/${t}`,r)},update:({id:t,data:n})=>e.put(`quotes/${t}`,n),patch:({id:t,data:n})=>e.patch(`quotes/${t}`,n),accept:({id:t})=>e.post(`quotes/${t}/accept`),cancel:({id:t})=>e.post(`quotes/${t}/cancel`),issue:({id:t})=>e.post(`quotes/${t}/issue`),recall:({id:t})=>e.post(`quotes/${t}/recall`),reject:({id:t})=>e.post(`quotes/${t}/reject`),getAllTimelineMessages({id:t,limit:n=null,offset:r=null,filter:a=null,sort:s=null,q:o=null}){const i={limit:n,offset:r,filter:a,sort:s,q:o};return e.getAll(`quotes/${t}/timeline`,i)},createTimelineComment:({id:t,data:n})=>e.post(`quotes/${t}/timeline`,n),getTimelineMessage:({id:t,messageId:n})=>e.get(`quotes/${t}/timeline/${n}`),deleteTimelineMessage:({id:t,messageId:n})=>e.delete(`quotes/${t}/timeline/${n}`),downloadPDF({id:t}){const n={headers:Ra,responseType:"arraybuffer"};return e.download(`quotes/${t}`,n)}}}({apiHandler:e}),this.resource=function({apiHandler:e}){return{get:({resource:t,resourceId:n,service:r})=>e.get(`${t}/${n}/external-identifiers/${r}`),sync:({resource:t,resourceId:n,service:r})=>e.post(`${t}/${n}/external-identifiers/${r}`),update:({resource:t,resourceId:n,service:r,data:a})=>e.put(`${t}/${n}/external-identifiers/${r}`,a),delete:({resource:t,resourceId:n,service:r})=>e.delete(`${t}/${n}/external-identifiers/${r}`)}}({apiHandler:e}),this.riskScoreRules=function({apiHandler:e}){return{getAll:()=>e.get("risk-score-rules"),updateRiskScoreRules:({data:t})=>e.put("risk-score-rules",t),getAllBlocklistRules:()=>e.get("risk-score-rules/blocklists"),updateRiskScoreBlocklistRules:({data:t})=>e.put("risk-score-rules/blocklists",t)}}({apiHandler:e}),this.roles=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null,q:s=null,expand:o=null}={}){const i={limit:t,offset:n,filter:r,sort:a,q:s,expand:o};return e.getAll("roles",i)},create:({id:t="",data:n})=>e.create(`roles/${t}`,t,n),get({id:t,expand:n=null}){const r={expand:n};return e.get(`roles/${t}`,r)},update:({id:t,data:n})=>e.put(`roles/${t}`,n),delete:({id:t})=>e.delete(`roles/${t}`)}}({apiHandler:e}),this.search=function({apiHandler:e}){return{get({sort:t=null,limit:n=null,offset:r=null,q:a=null}){const s={sort:t,limit:n,offset:r,q:a};return e.get("search",s)}}}({apiHandler:e}),this.segments=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null}={}){const o={limit:t,offset:n,sort:r,filter:a,q:s};return e.getAll("grid-segments",o)},create:({id:t="",data:n})=>e.create(`grid-segments/${t}`,t,n),get:({id:t})=>e.get(`grid-segments/${t}`),update:({id:t,data:n})=>e.put(`grid-segments/${t}`,n),delete:({id:t})=>e.delete(`grid-segments/${t}`)}}({apiHandler:e}),this.sendThroughAttribution=function({apiHandler:e}){return{getAll:({eventType:t})=>e.getAll(`send-through-attribution/${t}`)}}({apiHandler:e}),this.serviceCredentials=function({apiHandler:e}){return{getAll({type:t,filter:n=null,limit:r=null,offset:a=null,sort:s=null,q:o=null}){const i={filter:n,limit:r,offset:a,sort:s,q:o};return e.getAll(`service-credentials/${t}`,i)},create:({type:t,data:n})=>e.post(`service-credentials/${t}`,n),get:({type:t,id:n})=>e.get(`service-credentials/${t}/${n}`),update:({type:t,id:n,data:r})=>e.patch(`service-credentials/${t}/${n}`,r),getItems({type:t,id:n,limit:r=null,offset:a=null,filter:s=null,q:o=null,fields:i=null,sort:l=null}){const u={limit:r,offset:a,filter:s,q:o,fields:i,sort:l};return e.getAll(`service-credentials/${t}/${n}/items`,u)}}}({apiHandler:e}),this.shippingRates=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null,q:s=null}={}){const o={limit:t,offset:n,filter:r,sort:a,q:s};return e.getAll("shipping-rates",o)},create:({id:t="",data:n})=>e.create(`shipping-rates/${t}`,t,n),get:({id:t})=>e.get(`shipping-rates/${t}`),update:({id:t,data:n})=>e.put(`shipping-rates/${t}`,n),delete:({id:t})=>e.delete(`shipping-rates/${t}`)}}({apiHandler:e}),this.status=function({apiHandler:e}){return{get:()=>e.get("status")}}({apiHandler:e}),this.subscriptionCancellations=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null}={}){const s={limit:t,offset:n,filter:r,sort:a};return e.getAll("subscription-cancellations",s)},create:({id:t="",data:n})=>e.create(`subscription-cancellations/${t}`,t,n),get:({id:t})=>e.get(`subscription-cancellations/${t}`),delete:({id:t})=>e.delete(`subscription-cancellations/${t}`),patch:({id:t,data:n})=>e.patch(`subscription-cancellations/${t}`,n)}}({apiHandler:e}),this.subscriptionPauses=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null}={}){const s={limit:t,offset:n,filter:r,sort:a};return e.getAll("subscription-pauses",s)},pause:({id:t="",data:n})=>e.create(`subscription-pauses/${t}`,t,n),get:({id:t})=>e.get(`subscription-pauses/${t}`),update:({id:t,data:n})=>e.put(`subscription-pauses/${t}`,n),delete:({id:t})=>e.delete(`subscription-pauses/${t}`)}}({apiHandler:e}),this.subscriptionReactivations=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,sort:a=null}={}){const s={limit:t,offset:n,filter:r,sort:a};return e.getAll("subscription-reactivations",s)},reactivate:({data:t})=>e.post("subscription-reactivations",t),get:({id:t})=>e.get(`subscription-reactivations/${t}`)}}({apiHandler:e}),this.subscriptions=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null,expand:o=null}={}){const i={filter:t,sort:n,limit:r,offset:a,q:s,expand:o};return e.getAll("subscriptions",i)},create({id:t="",data:n,expand:r=null}){const a={expand:r};return e.create(`subscriptions/${t}`,t,n,a)},get({id:t,expand:n=null}){const r={expand:n};return e.get(`subscriptions/${t}`,r)},update({id:t,data:n,expand:r=null}){const a={expand:r};return e.put(`subscriptions/${t}`,n,a)},delete:({id:t})=>e.delete(`subscriptions/${t}`),void:({id:t})=>e.post(`subscriptions/${t}/void`),changeItems({id:t,data:n,expand:r=null}){const a={expand:r};return e.post(`subscriptions/${t}/change-items`,n,a)},updateItem:({id:t,itemId:n,data:r})=>e.patch(`subscriptions/${t}/items/${n}`,r),createInterimInvoice:({id:t,data:n})=>e.post(`subscriptions/${t}/interim-invoice`,n),getAllUpcomingInvoices({id:t,expand:n=null}){const r={expand:n};return e.getAll(`subscriptions/${t}/upcoming-invoices`,r)},getUpcomingInvoice({id:t,expand:n=null}){const r={expand:n};return e.get(`subscriptions/${t}/upcoming-invoice`,r)},issueEarlyUpcomingInvoice:({id:t,data:n})=>e.post(`subscriptions/${t}/upcoming-invoice/issue`,n),issueUpcomingInvoice:({id:t,invoiceId:n,data:r})=>e.post(`subscriptions/${t}/upcoming-invoices/${n}/issue`,r),getAllTimelineMessages({id:t,limit:n=null,offset:r=null,filter:a=null,sort:s=null,q:o=null}){const i={limit:n,offset:r,filter:a,sort:s,q:o};return e.getAll(`subscriptions/${t}/timeline`,i)},createTimelineComment:({id:t,data:n})=>e.post(`subscriptions/${t}/timeline`,n),getTimelineMessage:({id:t,messageId:n})=>e.get(`subscriptions/${t}/timeline/${n}`),deleteTimelineMessage:({id:t,messageId:n})=>e.delete(`subscriptions/${t}/timeline/${n}`)}}({apiHandler:e}),this.tags=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,q:a=null,sort:s=null}={}){const o={limit:t,offset:n,filter:r,q:a,sort:s};return e.getAll("tags",o)},create:({data:t})=>e.post("tags",t),get:({tag:t})=>e.get(`tags/${t}`),delete:({tag:t})=>e.delete(`tags/${t}`),update:({tag:t,data:n})=>e.patch(`tags/${t}`,n),tagCustomers:({tag:t,data:n})=>e.post(`tags/${t}/customers`,n),untagCustomers:({tag:t,data:n})=>e.delete(`tags/${t}/customers`,n),tagCustomer:({tag:t,customerId:n})=>e.post(`tags/${t}/customers/${n}`),untagCustomer:({tag:t,customerId:n})=>e.delete(`tags/${t}/customers/${n}`),tagKycDocuments:({tag:t,data:n})=>e.post(`tags/${t}/kyc-documents`,n),untagKycDocuments:({tag:t,data:n})=>e.delete(`tags/${t}/kyc-documents`,n),tagKycDocument:({tag:t,kycDocumentId:n})=>e.post(`tags/${t}/kyc-documents/${n}`),untagKycDocument:({tag:t,kycDocumentId:n})=>e.delete(`tags/${t}/kyc-documents/${n}`),tagAmlChecks:({tag:t,data:n})=>e.post(`tags/${t}/aml-checks`,n),untagAmlChecks:({tag:t,data:n})=>e.delete(`tags/${t}/aml-checks`,n),tagAmlCheck:({tag:t,amlCheckId:n})=>e.post(`tags/${t}/aml-checks/${n}`),untagAmlCheck:({tag:t,amlCheckId:n})=>e.delete(`tags/${t}/aml-checks/${n}`)}}({apiHandler:e}),this.tagsRules=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null}={}){const o={limit:t,offset:n,sort:r,filter:a,q:s};return e.getAll("tags-rules",o)},create:({id:t="",data:n})=>e.create(`tags-rules/${t}`,t,n),get:({id:t})=>e.get(`tags-rules/${t}`),update:({id:t,data:n})=>e.put(`tags-rules/${t}`,n),delete:({id:t})=>e.delete(`tags-rules/${t}`)}}({apiHandler:e}),this.tracking=function({apiHandler:e}){return{getAllApiLogs({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null,expand:o=null}={}){const i={limit:t,offset:n,sort:r,filter:a,q:s,expand:o};return e.getAll("tracking/api",i)},getApiLog:({id:t})=>e.get(`tracking/api/${t}`),getAllTaxTrackingLogs({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null}={}){const o={limit:t,offset:n,sort:r,filter:a,q:s};return e.getAll("tracking/taxes",o)},getTaxTrackingLog:({id:t})=>e.get(`tracking/taxes/${t}`),getAllListsChangesHistory({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null}={}){const o={limit:t,offset:n,sort:r,filter:a,q:s};return e.getAll("tracking/lists",o)},getAllWebhookTrackingLogs({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null}={}){const o={limit:t,offset:n,sort:r,filter:a,q:s};return e.getAll("tracking/webhooks",o)},getWebhookTrackingLog:({id:t})=>e.get(`tracking/webhooks/${t}`),resendWebhook:({id:t})=>e.post(`tracking/webhooks/${t}/resend`)}}({apiHandler:e}),this.transactions=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,q:a=null,sort:s=null,expand:o=null}={}){const i={limit:t,offset:n,filter:r,q:a,sort:s,expand:o};return e.getAll("transactions",i)},create({data:t,expand:n=null}){const r={expand:n};return e.post("transactions",t,r)},get({id:t,expand:n=null}){const r={expand:n};return e.get(`transactions/${t}`,r)},patch:({id:t,data:n})=>e.patch(`transactions/${t}`,n),query:({id:t})=>e.post(`transactions/${t}/query`),update:({id:t,data:n})=>e.post(`transactions/${t}/update`,n),refund({id:t,data:n,expand:r=null}){const a={expand:r};return e.post(`transactions/${t}/refund`,n,a)},getAllTimelineMessages({id:t,limit:n=null,offset:r=null,filter:a=null,sort:s=null,q:o=null}){const i={limit:n,offset:r,filter:a,sort:s,q:o};return e.getAll(`transactions/${t}/timeline`,i)},createTimelineComment:({id:t,data:n})=>e.post(`transactions/${t}/timeline`,n),getTimelineMessage:({id:t,messageId:n})=>e.get(`transactions/${t}/timeline/${n}`),deleteTimelineMessage:({id:t,messageId:n})=>e.delete(`transactions/${t}/timeline/${n}`)}}({apiHandler:e}),this.usages=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null}={}){const o={filter:t,sort:n,limit:r,offset:a,q:s};return e.getAll("usages",o)},create:({data:t})=>e.post("usages",t),get:({id:t})=>e.get(`usages/${t}`),delete:({id:t})=>e.delete(`usages/${t}`)}}({apiHandler:e}),this.users=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,sort:r=null,filter:a=null,q:s=null}={}){const o={limit:t,offset:n,sort:r,filter:a,q:s};return e.getAll("users",o)},create:({id:t="",data:n})=>e.create(`users/${t}`,t,n),get:({id:t})=>e.get(`users/${t}`),update:({id:t,data:n})=>e.put(`users/${t}`,n),getMfa:({id:t})=>e.get(`users/${t}/mfa`)}}({apiHandler:e}),this.webhooks=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null}={}){const a={limit:t,offset:n,filter:r};return e.getAll("webhooks",a)},create:({id:t="",data:n})=>e.create(`webhooks/${t}`,t,n),get:({id:t})=>e.get(`webhooks/${t}`),update:({id:t,data:n})=>e.put(`webhooks/${t}`,n),delete:({id:t})=>e.delete(`webhooks/${t}`)}}({apiHandler:e}),this.websites=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,q:r=null,filter:a=null,sort:s=null}={}){const o={limit:t,offset:n,q:r,filter:a,sort:s};return e.getAll("websites",o)},create:({id:t="",data:n})=>e.create(`websites/${t}`,t,n),get:({id:t})=>e.get(`websites/${t}`),update:({id:t,data:n})=>e.put(`websites/${t}`,n),delete:({id:t})=>e.delete(`websites/${t}`)}}({apiHandler:e}),this.addRequestInterceptor=e.addRequestInterceptor,this.removeRequestInterceptor=e.removeRequestInterceptor,this.addResponseInterceptor=e.addResponseInterceptor,this.removeResponseInterceptor=e.removeResponseInterceptor,this.setTimeout=e.setTimeout,this.setProxyAgent=e.setProxyAgent,this.setSessionToken=e.setSessionToken,this.setPublishableKey=e.setPublishableKey,this.setEndpoints=e.setEndpoints,this.getCancellationToken=e.getCancellationToken,this.generateSignature=e.generateSignature}}const Ha={CustomersResource:function({apiHandler:e}){return{getCustomerLifetimeSummaryMetrics:({customerId:t})=>e.get(`customers/${t}/summary-metrics`)}},DataExportsResource:function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,sort:r=null,expand:a=null,filter:s=null,q:o=null,criteria:i=null}={}){const l={limit:t,offset:n,sort:r,expand:a,filter:s,q:o,criteria:i};return e.getAll("data-exports",l)},queue({id:t="",data:n,expand:r=null}){const a={expand:r};return e.create(`data-exports/${t}`,t,n,a)},get({id:t,expand:n=null}){const r={expand:n};return e.get(`data-exports/${t}`,r)},update({id:t,data:n,expand:r=null}){const a={expand:r};return e.put(`data-exports/${t}`,n,a)},delete:({id:t})=>e.delete(`data-exports/${t}`)}},HistogramsResource:function({apiHandler:e}){return{getTransactionHistogramReport({periodStart:t,periodEnd:n,aggregationPeriod:r,metric:a,filter:s=null}){const o={periodStart:t,periodEnd:n,aggregationPeriod:r,metric:a,filter:s};return e.get("histograms/transactions",o)}}},ReportsResource:function({apiHandler:e}){return{getApiLogSummary({periodStart:t,periodEnd:n,limit:r=null,offset:a=null}){const s={periodStart:t,periodEnd:n,limit:r,offset:a};return e.get("reports/api-log-summary",s)},getCumulativeSubscriptions({aggregationField:t,periodStart:n,periodEnd:r,limit:a=null,offset:s=null,filter:o=null}){const i={aggregationField:t,periodStart:n,periodEnd:r,limit:a,offset:s,filter:o};return e.get("reports/cumulative-subscriptions",i)},getDashboardMetrics({periodStart:t,periodEnd:n,metrics:r=null,segments:a=null}){const s={periodStart:t,periodEnd:n,metrics:r,segments:a};return e.get("reports/dashboard",s)},getDccMarkup({aggregationField:t,periodStart:n,periodEnd:r,limit:a=null,offset:s=null,filter:o=null}){const i={aggregationField:t,periodStart:n,periodEnd:r,limit:a,offset:s,filter:o};return e.get("reports/dcc-markup",i)},getDeclinedTransactions({aggregationField:t,periodStart:n,periodEnd:r,limit:a=null,offset:s=null,filter:o=null}){const i={aggregationField:t,periodStart:n,periodEnd:r,limit:a,offset:s,filter:o};return e.get("reports/declined-transactions",i)},getDisputes({aggregationField:t,periodMonth:n,limit:r=null,offset:a=null,filter:s=null}){const o={aggregationField:t,periodMonth:n,limit:r,offset:a,filter:s};return e.get("reports/disputes",o)},getEventsTriggeredSummary({periodStart:t,periodEnd:n,limit:r=null,offset:a=null}){const s={periodStart:t,periodEnd:n,limit:r,offset:a};return e.get("reports/events-triggered",s)},getTriggeredEventRuleReport({eventType:t,periodStart:n,periodEnd:r,limit:a=null,offset:s=null}){const o={periodStart:n,periodEnd:r,limit:a,offset:s};return e.get(`reports/events-triggered/${t}/rules`,o)},getFutureRenewals({periodStart:t,periodEnd:n,limit:r=null,offset:a=null}){const s={periodStart:t,periodEnd:n,limit:r,offset:a};return e.get("reports/future-renewals",s)},getJournal({currency:t=null,bookedFrom:n=null,bookedTo:r=null,recognizedAt:a=null,aggregationField:s=null,limit:o=null,offset:i=null,filter:l=null}){const u={currency:t,bookedFrom:n,bookedTo:r,recognizedAt:a,aggregationField:s,limit:o,offset:i,filter:l};return e.get("reports/journal",u)},getJournalSummary({periodStart:t=null,periodEnd:n=null,currency:r=null,aggregationField:a=null,amountField:s=null,journalAccountIds:o=null}){const i={periodStart:t,periodEnd:n,currency:r,aggregationField:a,amountField:s,journalAccountIds:o};return e.get("reports/journal-summary",i)},getKycAcceptanceSummary({periodStart:t,periodEnd:n}){const r={periodStart:t,periodEnd:n};return e.get("reports/kyc-acceptance-summary",r)},getKycRejectionSummary({periodStart:t,periodEnd:n}){const r={periodStart:t,periodEnd:n};return e.get("reports/kyc-rejection-summary",r)},getKycRequestSummary({periodStart:t,periodEnd:n}){const r={periodStart:t,periodEnd:n};return e.get("reports/kyc-request-summary",r)},getMonthlyRecurringRevenue({currency:t,periodStart:n,periodEnd:r,limit:a=null,offset:s=null}){const o={currency:t,periodStart:n,periodEnd:r,limit:a,offset:s};return e.get("reports/monthly-recurring-revenue",o)},getAnnualRecurringRevenue({currency:t,periodStart:n,periodEnd:r,limit:a=null,offset:s=null}){const o={currency:t,periodStart:n,periodEnd:r,limit:a,offset:s};return e.get("reports/annual-recurring-revenue",o)},getRenewalSales({periodStart:t,periodEnd:n,limit:r=null,offset:a=null}){const s={periodStart:t,periodEnd:n,limit:r,offset:a};return e.get("reports/renewal-sales",s)},getRetentionPercentage({aggregationField:t,aggregationPeriod:n,includeSwitchedSubscriptions:r=null,periodStart:a,periodEnd:s,limit:o=null,offset:i=null,filter:l=null,criteria:u=null}){const c={aggregationField:t,aggregationPeriod:n,includeSwitchedSubscriptions:r,periodStart:a,periodEnd:s,limit:o,offset:i,filter:l,criteria:u};return e.get("reports/retention-percentage",c)},getRetentionValue({aggregationField:t,aggregationPeriod:n,includeRefunds:r=null,includeDisputes:a=null,periodStart:s,periodEnd:o,limit:i=null,offset:l=null,filter:u=null,sort:c=null,criteria:d=null}){const p={aggregationField:t,aggregationPeriod:n,includeRefunds:r,includeDisputes:a,periodStart:s,periodEnd:o,limit:i,offset:l,filter:u,sort:c,criteria:d};return e.get("reports/retention-value",p)},getRevenueWaterfall({currency:t,issuedFrom:n,issuedTo:r,recognizedTo:a}){const s={currency:t,issuedFrom:n,issuedTo:r,recognizedTo:a};return e.get("reports/revenue-waterfall",s)},getRevenueAudit({filter:t=null,sort:n=null,limit:r=null,offset:a=null}){const s={filter:t,sort:n,limit:r,offset:a};return e.get("reports/revenue-audit",s)},getSubscriptionCancellation({periodStart:t,periodEnd:n,aggregationField:r,limit:a=null,offset:s=null,filter:o=null}){const i={periodStart:t,periodEnd:n,aggregationField:r,limit:a,offset:s,filter:o};return e.get("reports/subscription-cancellation",i)},getSubscriptionRenewal({periodStart:t,periodEnd:n,limit:r=null,offset:a=null}){const s={periodStart:t,periodEnd:n,limit:r,offset:a};return e.get("reports/subscription-renewal",s)},getTax({periodStart:t,periodEnd:n,accountingMethod:r,limit:a=null,offset:s=null}){const o={periodStart:t,periodEnd:n,accountingMethod:r,limit:a,offset:s};return e.get("reports/tax",o)},getTimeSeriesTransaction({type:t,subaggregate:n,periodStart:r,periodEnd:a,limit:s=null,offset:o=null}){const i={type:t,subaggregate:n,periodStart:r,periodEnd:a,limit:s,offset:o};return e.get("reports/time-series-transaction",i)},getTransactionsTimeDispute({aggregationField:t,periodStart:n,periodEnd:r,limit:a=null,offset:s=null,filter:o=null}){const i={aggregationField:t,periodStart:n,periodEnd:r,limit:a,offset:s,filter:o};return e.get("reports/transactions-time-dispute",i)},getTransactions({periodStart:t,periodEnd:n,aggregationField:r,limit:a=null,offset:s=null,filter:o=null}){const i={periodStart:t,periodEnd:n,aggregationField:r,limit:a,offset:s,filter:o};return e.get("reports/transactions",i)}}},SubscriptionsResource:function({apiHandler:e}){return{getSubscriptionSummaryMetrics:({subscriptionId:t})=>e.get(`subscriptions/${t}/summary-metrics`)}},TimelinesResource:function({apiHandler:e}){return{getActivityFeed({eventTypes:t=null,limit:n=1e3,offset:r=0}){const a={eventTypes:t,limit:n,offset:r};return e.getAll("activity-feed",a)},getTransaction({id:t="",eventTypes:n=null,limit:r=1e3,offset:a=0}){const s={eventTypes:n,limit:r,offset:a};return e.getAll(`transactions/${t}/timeline`,s)},getCustomer({id:t="",eventTypes:n=null,limit:r=1e3,offset:a=0}){const s={eventTypes:n,limit:r,offset:a};return e.getAll(`customers/${t}/timeline`,s)}}},LocationResource:function({apiHandler:e}){return{query:()=>e.get("location")}}};class Na{constructor({apiHandler:e}){this.customers=Ha.CustomersResource({apiHandler:e}),this.dataExports=Ha.DataExportsResource({apiHandler:e}),this.histograms=Ha.HistogramsResource({apiHandler:e}),this.reports=Ha.ReportsResource({apiHandler:e}),this.subscriptions=Ha.SubscriptionsResource({apiHandler:e}),this.timelines=Ha.TimelinesResource({apiHandler:e}),this.location=Ha.LocationResource({apiHandler:e}),this.addRequestInterceptor=e.addRequestInterceptor,this.removeRequestInterceptor=e.removeRequestInterceptor,this.addResponseInterceptor=e.addResponseInterceptor,this.removeResponseInterceptor=e.removeResponseInterceptor,this.setTimeout=e.setTimeout,this.setProxyAgent=e.setProxyAgent,this.setSessionToken=e.setSessionToken,this.setEndpoints=e.setEndpoints,this.getCancellationToken=e.getCancellationToken}}class Oa{constructor({apiHandler:e}){this.account=function({apiHandler:e}){return{get({expand:t=null}={}){const n={expand:t};return e.get("account",n)},update:({data:t})=>e.patch("account",t),requestPasswordReset:({data:t})=>e.post("account/forgot-password",t),changePassword:({data:t})=>e.patch("account/password",t),resendEmailVerification:({data:t})=>e.post("account/resend-verification",t),confirmPasswordReset:({token:t,data:n})=>e.post(`account/reset-password/${t}`,n),verifyEmail:({token:t})=>e.post(`account/verification/${t}`),register:({data:t})=>e.post("register",t)}}({apiHandler:e}),this.authorization=function({apiHandler:e}){return{login:({data:t})=>e.post("login",t),logout:()=>e.post("logout")}}({apiHandler:e}),this.billingPortals=function({apiHandler:e}){return{get:({slug:t})=>e.get(`billing-portals/${t}`)}}({apiHandler:e}),this.cashiers=function({apiHandler:e}){return{get:({id:t})=>e.get(`cashiers/${t}`)}}({apiHandler:e}),this.checkoutForms=function({apiHandler:e}){return{get:({id:t})=>e.get(`checkout-forms/${t}`)}}({apiHandler:e}),this.customFields=function({apiHandler:e}){return{getAll({resource:t,limit:n=null,offset:r=null}){const a={limit:n,offset:r};return e.getAll(`custom-fields/${t}`,a)}}}({apiHandler:e}),this.depositRequests=function({apiHandler:e}){return{get({id:t,expand:n=null}){const r={expand:n};return e.get(`deposit-requests/${t}`,r)}}}({apiHandler:e}),this.deposit=function({apiHandler:e}){return{create:({data:t})=>e.post("deposit",t)}}({apiHandler:e}),this.depositStrategies=function({apiHandler:e}){return{get:({id:t})=>e.get(`deposit-strategies/${t}`)}}({apiHandler:e}),this.invoices=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null,expand:o=null}={}){const i={filter:t,sort:n,limit:r,offset:a,q:s,expand:o};return e.getAll("invoices",i)},get({id:t,expand:n=null}){const r={expand:n};return e.get(`invoices/${t}`,r)},update:({id:t,data:n})=>e.patch(`invoices/${t}`,n),downloadPDF({id:t}){const n={headers:Ra,responseType:"arraybuffer"};return e.download(`invoices/${t}`,n)}}}({apiHandler:e}),this.kycDocuments=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null}={}){const r={limit:t,offset:n};return e.getAll("kyc-documents",r)},create:({data:t})=>e.post("kyc-documents",t),get:({id:t})=>e.get(`kyc-documents/${t}`),update:({id:t,data:n})=>e.patch(`kyc-documents/${t}`,n)}}({apiHandler:e}),this.kycLivenessSessions=function({apiHandler:e}){return{create:({data:t})=>e.post("kyc-liveness-sessions",t),get:({id:t})=>e.get(`kyc-liveness-sessions/${t}`),finish:({id:t})=>e.post(`kyc-liveness-sessions/${t}/finish`)}}({apiHandler:e}),this.kycRequests=function({apiHandler:e}){return{get({id:t,expand:n=null}){const r={expand:n};return e.get(`kyc-requests/${t}`,r)}}}({apiHandler:e}),this.orders=function({apiHandler:e}){return{getUpcomingInvoice({id:t,expand:n=null}){const r={expand:n};return e.get(`orders/${t}/upcoming-invoice`,r)},getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null,expand:o=null}={}){const i={filter:t,sort:n,limit:r,offset:a,q:s,expand:o};return e.getAll("orders",i)},get({id:t,expand:n=null}){const r={expand:n};return e.get(`orders/${t}`,r)},update:({id:t,data:n})=>e.patch(`orders/${t}`,n),cancel:({id:t,data:n})=>e.post(`orders/${t}/cancellation`,n),pause:({id:t,data:n})=>e.post(`orders/${t}/pause`,n)}}({apiHandler:e}),this.paymentInstruments=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null}={}){const o={filter:t,sort:n,limit:r,offset:a,q:s};return e.getAll("payment-instruments",o)},create:({data:t})=>e.post("payment-instruments",t),get({id:t,limit:n=null,offset:r=null}){const a={limit:n,offset:r};return e.get(`payment-instruments/${t}`,a)},update:({id:t,data:n})=>e.patch(`payment-instruments/${t}`,n),deactivate:({id:t})=>e.post(`payment-instruments/${t}/deactivation`),getSetupTransaction:({id:t})=>e.get(`payment-instruments/${t}/setup`),setup:({id:t,data:n})=>e.post(`payment-instruments/${t}/setup`,n)}}({apiHandler:e}),this.payoutRequests=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null}={}){const o={filter:t,sort:n,limit:r,offset:a,q:s};return e.getAll("payout-requests",o)},create:({data:t})=>e.post("payout-requests",t),get:({id:t})=>e.get(`payout-requests/${t}`),update:({id:t,data:n})=>e.patch(`payout-requests/${t}`,n)}}({apiHandler:e}),this.plans=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null,expand:o=null}={}){const i={filter:t,sort:n,limit:r,offset:a,q:s,expand:o};return e.getAll("plans",i)},get({id:t,expand:n=null}){const r={expand:n};return e.get(`plans/${t}`,r)}}}({apiHandler:e}),this.products=function({apiHandler:e}){return{getAll({filter:t=null,sort:n=null,limit:r=null,offset:a=null,q:s=null}={}){const o={filter:t,sort:n,limit:r,offset:a,q:s};return e.getAll("products",o)},get:({id:t})=>e.get(`products/${t}`)}}({apiHandler:e}),this.purchase=function({apiHandler:e}){return{payment:({data:t})=>e.post("payment",t),purchase:({data:t})=>e.post("purchase",t),preview:({data:t})=>e.post("preview-purchase",t),readyToPay:({data:t})=>e.post("ready-to-pay",t)}}({apiHandler:e}),this.quotes=function({apiHandler:e}){return{get({id:t,expand:n=null}){const r={expand:n};return e.get(`quotes/${t}`,r)},accept:({id:t})=>e.post(`quotes/${t}/accept`),reject:({id:t})=>e.post(`quotes/${t}/reject`),downloadPDF({id:t}){const n={headers:Ra,responseType:"arraybuffer"};return e.download(`quotes/${t}`,n)}}}({apiHandler:e}),this.readyToPayout=function({apiHandler:e}){return{readyToPayout:({data:t})=>e.post("ready-to-payout",t)}}({apiHandler:e}),this.subscriptionReactivations=function({apiHandler:e}){return{reactivation:({data:t})=>e.post("subscription-reactivations",t)}}({apiHandler:e}),this.subscriptions=function({apiHandler:e}){return{changeItems:({id:t,data:n})=>e.post(`subscriptions/${t}/change-items`,n),create:({data:t})=>e.post("subscriptions",t)}}({apiHandler:e}),this.transactions=function({apiHandler:e}){return{getAll({limit:t=null,offset:n=null,filter:r=null,q:a=null,sort:s=null}={}){const o={limit:t,offset:n,filter:r,q:a,sort:s};return e.getAll("transactions",o)},get:({id:t})=>e.get(`transactions/${t}`),finishKyc:({id:t,token:n})=>e.post(`transactions/${t}/${n}/continue`),skipKyc:({id:t,token:n})=>e.post(`transactions/${t}/${n}/bypass`),update:({id:t,data:n})=>e.patch(`transactions/${t}`,n)}}({apiHandler:e}),this.websites=function({apiHandler:e}){return{get:({id:t})=>e.get(`websites/${t}`)}}({apiHandler:e}),this.checkoutForm=this.checkoutForms,this.billingPortal=this.billingPortals,this.addRequestInterceptor=e.addRequestInterceptor,this.removeRequestInterceptor=e.removeRequestInterceptor,this.addResponseInterceptor=e.addResponseInterceptor,this.removeResponseInterceptor=e.removeResponseInterceptor,this.setTimeout=e.setTimeout,this.setProxyAgent=e.setProxyAgent,this.setSessionToken=e.setSessionToken,this.setPublishableKey=e.setPublishableKey,this.setEndpoints=e.setEndpoints,this.getCancellationToken=e.getCancellationToken,this.generateSignature=e.generateSignature}}const Ua={live:"https://api.rebilly.com",sandbox:"https://api-sandbox.rebilly.com"},_a=6e3;function ja({apiKey:e=null,sandbox:t=!1,timeout:n=_a,organizationId:r=null,urls:a=Ua,internalOptions:s=null}={}){if(!a.live||!a.sandbox)throw new Error("RebillyAPI urls config must include a key for both `live` and `sandbox`");if("string"!=typeof a.live||"string"!=typeof a.sandbox)throw new Error("RebillyAPI urls config `live` and `sandbox` must be strings");return function({apiHandler:e}){return new Fa({apiHandler:e})}({apiHandler:$a({options:{apiEndpoints:a,apiKey:e,apiVersion:"",isSandbox:t,requestTimeout:n,jwt:null,organizationId:r,appName:(null==s?void 0:s.appName)??null}})})}function qa({apiKey:e=null,sandbox:t=!1,timeout:n=_a,organizationId:r=null,urls:a=Ua,internalOptions:s=null}={}){if(!a.live||!a.sandbox)throw new Error("RebillyAPI urls config must include a key for both `live` and `sandbox`");if("string"!=typeof a.live||"string"!=typeof a.sandbox)throw new Error("RebillyAPI urls config `live` and `sandbox` must be strings");return function({apiHandler:e}){return new Na({apiHandler:e})}({apiHandler:$a({options:{apiEndpoints:a,apiKey:e,apiVersion:"experimental",isSandbox:t,requestTimeout:n,jwt:null,organizationId:r,appName:(null==s?void 0:s.appName)??null}})})}function Da({publishableKey:e=null,jwt:t=null,sandbox:n=!1,timeout:r=_a,organizationId:a=null,urls:s=Ua,internalOptions:o=null}={}){if(!s.live||!s.sandbox)throw new Error("RebillyAPI urls config must include a key for both `live` and `sandbox`");if("string"!=typeof s.live||"string"!=typeof s.sandbox)throw new Error("RebillyAPI urls config `live` and `sandbox` must be strings");const i={apiEndpoints:s,publishableKey:e,jwt:t,apiVersion:"storefront",isSandbox:n,requestTimeout:r,organizationId:a,appName:(null==o?void 0:o.appName)??null},l=$a({options:i});return l.setSessionToken(i.jwt),function({apiHandler:e}){return new Oa({apiHandler:e})}({apiHandler:l})}async function Wa(e){try{return Ve(Ge.storefront),Xe(Ge.options),await e()}catch(t){throw ht(t),t}}class za{constructor({publishableKey:e=null,jwt:t=null,organizationId:n=null,mode:r="live",timeout:a=6e4,liveUrl:s=null,sandboxUrl:o=null,appName:i}={}){const l={live:s||"https://api.rebilly.com",sandbox:o||"https://api-sandbox.rebilly.com"},u="string"==typeof a?parseInt(a,10):a,c={organizationId:n||void 0,sandbox:"sandbox"===r,timeout:Number.isNaN(u)?6e4:u,urls:l,internalOptions:{appName:i?`${i}/instruments`:"instruments"}},d=Da(c),p="function"==typeof ja.default?ja.default(c):ja(c),m=qa(c);return d.setSessionToken(e||t),p.setSessionToken(e||t),m.setSessionToken(e||t),this.api=d,this.api.rebilly=p,this.api.rebilly&&(this.api.rebilly.experimental=m),this.api}}const Va=e=>null!=e&&"object"==typeof e,Xa={default:1,minimum:1,maximum:Number.MAX_SAFE_INTEGER,multipleOf:1};function Ga({quantity:e}){return Va(e)?{...Xa,...e}:e}function Za(e){return Va(e)?e.default:e}function Ka(e){return e.map(({planId:e,quantity:t})=>({planId:e,quantity:t&&Za(t)}))}function Ja(e){return e.reduce((e,t)=>t.planId&&t.quantity?(e.set(t.planId,ae(t.quantity)),e):e,new Map)}async function Ya({data:e=null}={}){return Wa(async()=>{var t,n,r,a,s,o,i,l,u,c,d,p,m,f,y,h,g,b,v,w,k,x,S,P,C,B;const A=null==(t=Ge.options)?void 0:t.items,L=(null==(n=Ge.options)?void 0:n.websiteId)||null,E=(null==(a=null==(r=Ge.options)?void 0:r.bumpOffer)?void 0:a.map(({planId:e})=>e))||[],I={data:{websiteId:L??void 0}};var T,M;if((null==(M=null==(T=Ge.data)?void 0:T.summaryLineItems)?void 0:M.every(e=>null!=e.planId&&E.includes(e.planId)))||(null==(s=Ge.data)?void 0:s.acceptBumpOffer)||!(null==(o=Ge.data)?void 0:o.summaryLineItems)?A?(null==(l=Ge.data)?void 0:l.acceptBumpOffer)?I.data.items=null==(u=Ge.options)?void 0:u.bumpOffer:I.data.items=Ka(A??[]):((null==(c=Ge.data)?void 0:c.summaryLineItems)&&(I.data.items=Ka(Ge.data.summaryLineItems)),!(null==(d=Ge.data)?void 0:d.acceptBumpOffer)&&(null==(f=null==(m=null==(p=Ge.data)?void 0:p.previewPurchase)?void 0:m.addonLineItems)?void 0:f.length)>0&&(I.data.items=null==(h=null==(y=I.data)?void 0:y.items)?void 0:h.concat(Ge.data.previewPurchase.addonLineItems))):I.data.items=Ka(null==(i=Ge.data)?void 0:i.summaryLineItems),!(null==(g=Ge.data)?void 0:g.acceptBumpOffer)&&(null==(w=null==(v=null==(b=Ge.data)?void 0:b.previewPurchase)?void 0:v.addonLineItems)?void 0:w.length)>0&&(I.data.items=null==(k=I.data.items)?void 0:k.concat(Ge.data.previewPurchase.addonLineItems)),I.data.items&&I.data.items.length>1){const e=I.data.items.map(e=>JSON.stringify(e)),t=new Set(e),n=Array.from(t).map(e=>JSON.parse(e));I.data.items=n}(null==(x=Ge.data)?void 0:x.amountAndCurrency)&&(I.data={...I.data,...Ge.data.amountAndCurrency}),(null==e?void 0:e.billingAddress)&&(I.data.billingAddress=e.billingAddress),(null==e?void 0:e.deliveryAddress)&&(I.data.deliveryAddress=e.deliveryAddress),(null==(S=Ge.data)?void 0:S.couponIds)&&(I.data.couponIds=Ge.data.couponIds),Ve(Ge.storefront);const{fields:$}=await Ge.storefront.purchase.preview(I);let R=$;if(!(null==(P=Ge.data)?void 0:P.acceptBumpOffer)){const e=Ja(A??[]);if(R=$e(F=$,void 0,F,new Map,void 0),R.lineItems){if(null==(B=null==(C=Ge.data)?void 0:C.previewPurchase)?void 0:B.addonLineItems){const e=Ge.data.previewPurchase.addonLineItems.reduce((e,t)=>(e.set(t.planId,t),e),new Map);R.lineItems=R.lineItems.filter(t=>!e.has(t.planId)),R.addonLineItems=Ge.data.previewPurchase.addonLineItems}R.lineItems.forEach(function(e){return function(t){if(!t.planId)return;const n=e.get(t.planId)||t.quantity;t.quantity&&Va(n)&&(n.default=Za(t.quantity),t.quantity=n)}}(e))}}var F;return Ge.data&&(Ge.data.previewPurchase=R),new At(R)})}let Qa=!1;async function es(){var e,t;const n=Ge.toModel(),r={options:n.options,data:n.data,mainStyleVars:n.mainStyleVars},a=null==(t=null==(e=Ge.options)?void 0:e._computed)?void 0:t.paymentMethodsUrl,s="rebilly-instruments-summary",o=await new xt({name:s,url:`${a}?name=${s}`,container:Ge.summary,model:r,route:{name:"summary"}});return o.bindEventListeners({loader:Ge.loader}),ze.summary=o,async function(e){e.component.on(`${e.name}-update-items`,async e=>{try{if(Qa)return;Qa=!0;const t=Ja(e);Ge.data.summaryLineItems.forEach(e=>{const n=Za(t.get(e.planId));Va(e.quantity)?e.quantity.default=n:e.quantity=n}),await Ya(),Ge.updateModel(),Qa=!1}catch(t){console.error(t),Qa=!1}})}(o),{then:e=>e()}}async function ts({instrument:e}={}){await Ya({data:e}),Ge.updateModel()}var ns="production",rs=function(){return rs=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},rs.apply(this,arguments)};function as(e,t,n,r){return new(n||(n=Promise))(function(t,a){function s(e){try{i(r.next(e))}catch(t){a(t)}}function o(e){try{i(r.throw(e))}catch(t){a(t)}}function i(e){e.done?t(e.value):function(e){return e instanceof n?e:new n(function(t){t(e)})}(e.value).then(s,o)}i((r=r.apply(e,[])).next())})}function ss(e,t){var n,r,a,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=i(0),o.throw=i(1),o.return=i(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function i(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,i[0]&&(s=0)),s;)try{if(n=1,r&&(a=2&i[0]?r.return:i[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,i[1])).done)return a;switch(r=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(a=(a=s.trys).length>0&&a[a.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){s.label=i[1];break}if(6===i[0]&&s.label<a[1]){s.label=a[1],a=i;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(i);break}a[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(l){i=[6,l],r=0}finally{n=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}function os(e,t,n){for(var r,a=0,s=t.length;a<s;a++)(r||!(a in t))&&(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}var is="3.4.2";function ls(e,t){return new Promise(function(n){return setTimeout(n,e,t)})}function us(e){return!!e&&"function"==typeof e.then}function cs(e,t){try{var n=e();us(n)?n.then(function(e){return t(!0,e)},function(e){return t(!1,e)}):t(!0,n)}catch(r){t(!1,r)}}function ds(e,t,n){return void 0===n&&(n=16),as(this,0,void 0,function(){var r,a,s,o;return ss(this,function(i){switch(i.label){case 0:r=Array(e.length),a=Date.now(),s=0,i.label=1;case 1:return s<e.length?(r[s]=t(e[s],s),(o=Date.now())>=a+n?(a=o,[4,ls(0)]):[3,3]):[3,4];case 2:i.sent(),i.label=3;case 3:return++s,[3,1];case 4:return[2,r]}})})}function ps(e){e.then(void 0,function(){})}function ms(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function fs(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function ys(e,t){return 32===(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])}function hs(e,t){return 0===(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]}function gs(e,t){return[e[0]^t[0],e[1]^t[1]]}function bs(e){return e=gs(e,[0,e[0]>>>1]),e=gs(e=fs(e,[4283543511,3981806797]),[0,e[0]>>>1]),e=gs(e=fs(e,[3301882366,444984403]),[0,e[0]>>>1])}function vs(e){return parseInt(e)}function ws(e){return parseFloat(e)}function ks(e,t){return"number"==typeof e&&isNaN(e)?t:e}function xs(e){return e.reduce(function(e,t){return e+(t?1:0)},0)}function Ss(e,t){if(void 0===t&&(t=1),Math.abs(t)>=1)return Math.round(e/t)*t;var n=1/t;return Math.round(e*n)/n}function Ps(e){return e&&"object"==typeof e&&"message"in e?e:{message:e}}function Cs(e,t,n){var r=Object.keys(e).filter(function(e){return function(e,t){return!function(e,t){for(var n=0,r=e.length;n<r;++n)if(e[n]===t)return!0;return!1}(e,t)}(n,e)}),a=ds(r,function(n){return function(e,t){var n=new Promise(function(n){var r=Date.now();cs(e.bind(null,t),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var a=Date.now()-r;if(!e[0])return n(function(){return{error:Ps(e[1]),duration:a}});var s=e[1];if(function(e){return"function"!=typeof e}(s))return n(function(){return{value:s,duration:a}});n(function(){return new Promise(function(e){var t=Date.now();cs(s,function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var s=a+Date.now()-t;if(!n[0])return e({error:Ps(n[1]),duration:s});e({value:n[1],duration:s})})})})})});return ps(n),function(){return n.then(function(e){return e()})}}(e[n],t)});return ps(a),function(){return as(this,0,void 0,function(){var e,t,n,s;return ss(this,function(o){switch(o.label){case 0:return[4,a];case 1:return[4,ds(o.sent(),function(e){var t=e();return ps(t),t})];case 2:return e=o.sent(),[4,Promise.all(e)];case 3:for(t=o.sent(),n={},s=0;s<r.length;++s)n[r[s]]=t[s];return[2,n]}})})}}function Bs(){var e=window,t=navigator;return xs(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function As(){var e=window,t=navigator;return xs(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,0===t.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function Ls(){var e=window,t=navigator;return xs(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,0===t.vendor.indexOf("Apple"),"getStorageUpdates"in t,"WebKitMediaKeys"in e])>=4}function Es(){var e=window;return xs(["safari"in e,!("DeviceMotionEvent"in e),!("ongestureend"in e),!("standalone"in navigator)])>=3}function Is(){var e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function Ts(){var e=As(),t=function(){var e,t,n=window;return xs(["buildID"in navigator,"MozAppearance"in(null!==(t=null===(e=document.documentElement)||void 0===e?void 0:e.style)&&void 0!==t?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}();if(!e&&!t)return!1;var n=window;return xs(["onorientationchange"in n,"orientation"in n,e&&!("SharedWorker"in n),t&&/android/i.test(navigator.appVersion)])>=2}function Ms(e){var t=new Error(e);return t.name=e,t}function $s(e,t,n){var r,a,s;return void 0===n&&(n=50),as(this,0,void 0,function(){var o,i;return ss(this,function(l){switch(l.label){case 0:o=document,l.label=1;case 1:return o.body?[3,3]:[4,ls(n)];case 2:return l.sent(),[3,1];case 3:i=o.createElement("iframe"),l.label=4;case 4:return l.trys.push([4,,10,11]),[4,new Promise(function(e,n){var r=!1,a=function(){r=!0,e()};i.onload=a,i.onerror=function(e){r=!0,n(e)};var s=i.style;s.setProperty("display","block","important"),s.position="absolute",s.top="0",s.left="0",s.visibility="hidden",t&&"srcdoc"in i?i.srcdoc=t:i.src="about:blank",o.body.appendChild(i);var l=function(){var e,t;r||("complete"===(null===(t=null===(e=i.contentWindow)||void 0===e?void 0:e.document)||void 0===t?void 0:t.readyState)?a():setTimeout(l,10))};l()})];case 5:l.sent(),l.label=6;case 6:return null!==(a=null===(r=i.contentWindow)||void 0===r?void 0:r.document)&&void 0!==a&&a.body?[3,8]:[4,ls(n)];case 7:return l.sent(),[3,6];case 8:return[4,e(i,i.contentWindow)];case 9:return[2,l.sent()];case 10:return null===(s=i.parentNode)||void 0===s||s.removeChild(i),[7];case 11:return[2]}})})}function Rs(e){for(var t=function(e){for(var t,n,r="Unexpected syntax '".concat(e,"'"),a=/^\s*([a-z-]*)(.*)$/i.exec(e),s=a[1]||void 0,o={},i=/([.:#][\w-]+|\[.+?\])/gi,l=function(e,t){o[e]=o[e]||[],o[e].push(t)};;){var u=i.exec(a[2]);if(!u)break;var c=u[0];switch(c[0]){case".":l("class",c.slice(1));break;case"#":l("id",c.slice(1));break;case"[":var d=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(c);if(!d)throw new Error(r);l(d[1],null!==(n=null!==(t=d[4])&&void 0!==t?t:d[5])&&void 0!==n?n:"");break;default:throw new Error(r)}}return[s,o]}(e),n=t[0],r=t[1],a=document.createElement(n??"div"),s=0,o=Object.keys(r);s<o.length;s++){var i=o[s],l=r[i].join(" ");"style"===i?Fs(a.style,l):a.setAttribute(i,l)}return a}function Fs(e,t){for(var n=0,r=t.split(";");n<r.length;n++){var a=r[n],s=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(a);if(s){var o=s[1],i=s[2],l=s[4];e.setProperty(o,i,l||"")}}}var Hs=["monospace","sans-serif","serif"],Ns=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function Os(e){return e.toDataURL()}var Us,_s;function js(){var e=this;return function(){if(void 0===_s){var e=function(){var t=qs();Ds(t)?_s=setTimeout(e,2500):(Us=t,_s=void 0)};e()}}(),function(){return as(e,0,void 0,function(){var e;return ss(this,function(t){switch(t.label){case 0:return Ds(e=qs())?Us?[2,os([],Us)]:function(){var e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}()?[4,Is()]:[3,2]:[3,2];case 1:t.sent(),e=qs(),t.label=2;case 2:return Ds(e)||(Us=e),[2,e]}})})}}function qs(){var e=screen;return[ks(ws(e.availTop),null),ks(ws(e.width)-ws(e.availWidth)-ks(ws(e.availLeft),0),null),ks(ws(e.height)-ws(e.availHeight)-ks(ws(e.availTop),0),null),ks(ws(e.availLeft),null)]}function Ds(e){for(var t=0;t<4;++t)if(e[t])return!1;return!0}function Ws(e){var t;return as(this,0,void 0,function(){var n,r,a,s,o,i,l;return ss(this,function(u){switch(u.label){case 0:for(n=document,r=n.createElement("div"),a=new Array(e.length),s={},zs(r),l=0;l<e.length;++l)"DIALOG"===(o=Rs(e[l])).tagName&&o.show(),zs(i=n.createElement("div")),i.appendChild(o),r.appendChild(i),a[l]=o;u.label=1;case 1:return n.body?[3,3]:[4,ls(50)];case 2:return u.sent(),[3,1];case 3:n.body.appendChild(r);try{for(l=0;l<e.length;++l)a[l].offsetParent||(s[e[l]]=!0)}finally{null===(t=r.parentNode)||void 0===t||t.removeChild(r)}return[2,s]}})})}function zs(e){e.style.setProperty("display","block","important")}function Vs(e){return matchMedia("(inverted-colors: ".concat(e,")")).matches}function Xs(e){return matchMedia("(forced-colors: ".concat(e,")")).matches}function Gs(e){return matchMedia("(prefers-contrast: ".concat(e,")")).matches}function Zs(e){return matchMedia("(prefers-reduced-motion: ".concat(e,")")).matches}function Ks(e){return matchMedia("(dynamic-range: ".concat(e,")")).matches}var Js=Math,Ys=function(){return 0};var Qs={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};var eo={fonts:function(){return $s(function(e,t){var n=t.document,r=n.body;r.style.fontSize="48px";var a=n.createElement("div"),s={},o={},i=function(e){var t=n.createElement("span"),r=t.style;return r.position="absolute",r.top="0",r.left="0",r.fontFamily=e,t.textContent="mmMwWLliI0O&1",a.appendChild(t),t},l=Hs.map(i),u=function(){for(var e={},t=function(t){e[t]=Hs.map(function(e){return function(e,t){return i("'".concat(e,"',").concat(t))}(t,e)})},n=0,r=Ns;n<r.length;n++){t(r[n])}return e}();r.appendChild(a);for(var c=0;c<Hs.length;c++)s[Hs[c]]=l[c].offsetWidth,o[Hs[c]]=l[c].offsetHeight;return Ns.filter(function(e){return function(e){return Hs.some(function(t,n){return e[n].offsetWidth!==s[t]||e[n].offsetHeight!==o[t]})}(u[e])})})},domBlockers:function(e){var t=(void 0===e?{}:e).debug;return as(this,0,void 0,function(){var e,n,r,a,s;return ss(this,function(o){switch(o.label){case 0:return Ls()||Ts()?(e=function(){var e=atob;return{abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',e("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",e("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",e("LnNwb25zb3JpdA=="),".ylamainos",e("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",e("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",e("LmhlYWRlci1ibG9ja2VkLWFk"),e("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",e("I2FkXzMwMFgyNTA="),e("I2Jhbm5lcmZsb2F0MjI="),e("I2NhbXBhaWduLWJhbm5lcg=="),e("I0FkLUNvbnRlbnQ=")],adGuardChinese:[e("LlppX2FkX2FfSA=="),e("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",e("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),e("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",e("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",e("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",e("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),e("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),e("LmFkZ29vZ2xl"),e("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[e("YW1wLWF1dG8tYWRz"),e("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",e("I2FkX2ludmlld19hcmVh")],adGuardRussian:[e("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),e("LnJlY2xhbWE="),'div[id^="smi2adblock"]',e("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[e("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),e("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",e("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),e("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),e("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",e("I3Jla2xhbWk="),e("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),e("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),e("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[e("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",e("LndpZGdldF9wb19hZHNfd2lkZ2V0"),e("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",e("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[e("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),e("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",e("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",e("I3Jla2xhbW5pLWJveA=="),e("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",e("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[e("I2FkdmVydGVudGll"),e("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",e("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",e("LnNwb25zb3JsaW5rZ3J1ZW4="),e("I3dlcmJ1bmdza3k="),e("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),e("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[e("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",e("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[e("LnJla2xhbW9zX3RhcnBhcw=="),e("LnJla2xhbW9zX251b3JvZG9z"),e("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),e("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),e("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[e("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[e("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),e("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",e("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[e("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),e("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),e("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",e("LmFkX19tYWlu"),e("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[e("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[e("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),e("I2xpdmVyZUFkV3JhcHBlcg=="),e("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),e("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[e("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",e("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),e("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),e("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[e("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),e("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),e("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",e("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),e("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),e("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),e("ZGl2I3NrYXBpZWNfYWQ=")],ro:[e("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),e("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[e("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),e("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),e("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",e("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),e("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",e("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]}}(),n=Object.keys(e),[4,Ws((s=[]).concat.apply(s,n.map(function(t){return e[t]})))]):[2,void 0];case 1:return r=o.sent(),t&&function(e,t){for(var n="DOM blockers debug:\n```",r=0,a=Object.keys(e);r<a.length;r++){var s=a[r];n+="\n".concat(s,":");for(var o=0,i=e[s];o<i.length;o++){var l=i[o];n+="\n ".concat(t[l]?"🚫":"➡️"," ").concat(l)}}console.log("".concat(n,"\n```"))}(e,r),(a=n.filter(function(t){var n=e[t];return xs(n.map(function(e){return r[e]}))>.6*n.length})).sort(),[2,a]}})})},fontPreferences:function(){return e=function(e,t){for(var n={},r={},a=0,s=Object.keys(Qs);a<s.length;a++){var o=s[a],i=Qs[o],l=i[0],u=void 0===l?{}:l,c=i[1],d=void 0===c?"mmMwWLliI0fiflO&1":c,p=e.createElement("span");p.textContent=d,p.style.whiteSpace="nowrap";for(var m=0,f=Object.keys(u);m<f.length;m++){var y=f[m],h=u[y];void 0!==h&&(p.style[y]=h)}n[o]=p,t.appendChild(e.createElement("br")),t.appendChild(p)}for(var g=0,b=Object.keys(Qs);g<b.length;g++)r[o=b[g]]=n[o].getBoundingClientRect().width;return r},void 0===t&&(t=4e3),$s(function(n,r){var a=r.document,s=a.body,o=s.style;o.width="".concat(t,"px"),o.webkitTextSizeAdjust=o.textSizeAdjust="none",As()?s.style.zoom="".concat(1/r.devicePixelRatio):Ls()&&(s.style.zoom="reset");var i=a.createElement("div");return i.textContent=os([],Array(t/20|0)).map(function(){return"word"}).join(" "),s.appendChild(i),e(a,s)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">');var e,t},audio:function(){var e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(Ls()&&!Es()&&!function(){var e=window;return xs(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}())return-1;var n=new t(1,5e3,44100),r=n.createOscillator();r.type="triangle",r.frequency.value=1e4;var a=n.createDynamicsCompressor();a.threshold.value=-50,a.knee.value=40,a.ratio.value=12,a.attack.value=0,a.release.value=.25,r.connect(a),a.connect(n.destination),r.start(0);var s=function(e){var t=3,n=500,r=500,a=5e3,s=function(){},o=new Promise(function(o,i){var l=!1,u=0,c=0;e.oncomplete=function(e){return o(e.renderedBuffer)};var d=function(){setTimeout(function(){return i(Ms("timeout"))},Math.min(r,c+a-Date.now()))},p=function(){try{var r=e.startRendering();switch(us(r)&&ps(r),e.state){case"running":c=Date.now(),l&&d();break;case"suspended":document.hidden||u++,l&&u>=t?i(Ms("suspended")):setTimeout(p,n)}}catch(a){i(a)}};p(),s=function(){l||(l=!0,c>0&&d())}});return[o,s]}(n),o=s[0],i=s[1],l=o.then(function(e){return function(e){for(var t=0,n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}(e.getChannelData(0).subarray(4500))},function(e){if("timeout"===e.name||"suspended"===e.name)return-3;throw e});return ps(l),function(){return i(),l}},screenFrame:function(){var e=this,t=js();return function(){return as(e,0,void 0,function(){var e,n;return ss(this,function(r){switch(r.label){case 0:return[4,t()];case 1:return e=r.sent(),[2,[(n=function(e){return null===e?null:Ss(e,10)})(e[0]),n(e[1]),n(e[2]),n(e[3])]]}})})}},osCpu:function(){return navigator.oscpu},languages:function(){var e=navigator,t=[],n=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(void 0!==n&&t.push([n]),Array.isArray(e.languages))As()&&function(){var e=window;return xs([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3}()||t.push(e.languages);else if("string"==typeof e.languages){var r=e.languages;r&&t.push(r.split(","))}return t},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return ks(ws(navigator.deviceMemory),void 0)},screenResolution:function(){var e=screen,t=function(e){return ks(vs(e),null)},n=[t(e.width),t(e.height)];return n.sort().reverse(),n},hardwareConcurrency:function(){return ks(vs(navigator.hardwareConcurrency),void 0)},timezone:function(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t){var n=(new t).resolvedOptions().timeZone;if(n)return n}var r=-function(){var e=(new Date).getFullYear();return Math.max(ws(new Date(e,0,1).getTimezoneOffset()),ws(new Date(e,6,1).getTimezoneOffset()))}();return"UTC".concat(r>=0?"+":"").concat(Math.abs(r))},sessionStorage:function(){try{return!!window.sessionStorage}catch{return!0}},localStorage:function(){try{return!!window.localStorage}catch{return!0}},indexedDB:function(){if(!(Bs()||(e=window,t=navigator,xs(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!Bs())))try{return!!window.indexedDB}catch{return!0}var e,t},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){var e=navigator.platform;return"MacIntel"===e&&Ls()&&!Es()?function(){if("iPad"===navigator.platform)return!0;var e=screen,t=e.width/e.height;return xs(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}()?"iPad":"iPhone":e},plugins:function(){var e=navigator.plugins;if(e){for(var t=[],n=0;n<e.length;++n){var r=e[n];if(r){for(var a=[],s=0;s<r.length;++s){var o=r[s];a.push({type:o.type,suffixes:o.suffixes})}t.push({name:r.name,description:r.description,mimeTypes:a})}}return t}},canvas:function(){var e,t,n=!1,r=function(){var e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}(),a=r[0],s=r[1];if(function(e,t){return!(!t||!e.toDataURL)}(a,s)){n=function(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}(s),function(e,t){e.width=240,e.height=60,t.textBaseline="alphabetic",t.fillStyle="#f60",t.fillRect(100,1,62,20),t.fillStyle="#069",t.font='11pt "Times New Roman"';var n="Cwm fjordbank gly ".concat("😃");t.fillText(n,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(n,4,45)}(a,s);var o=Os(a);o!==Os(a)?e=t="unstable":(t=o,function(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(var n=0,r=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];n<r.length;n++){var a=r[n],s=a[0],o=a[1],i=a[2];t.fillStyle=s,t.beginPath(),t.arc(o,i,40,0,2*Math.PI,!0),t.closePath(),t.fill()}t.fillStyle="#f9c",t.arc(60,60,60,0,2*Math.PI,!0),t.arc(60,60,20,0,2*Math.PI,!0),t.fill("evenodd")}(a,s),e=Os(a))}else e=t="";return{winding:n,geometry:e,text:t}},touchSupport:function(){var e,t=navigator,n=0;void 0!==t.maxTouchPoints?n=vs(t.maxTouchPoints):void 0!==t.msMaxTouchPoints&&(n=t.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch{e=!1}return{maxTouchPoints:n,touchEvent:e,touchStart:"ontouchstart"in window}},vendor:function(){return navigator.vendor||""},vendorFlavors:function(){for(var e=[],t=0,n=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];t<n.length;t++){var r=n[t],a=window[r];a&&"object"==typeof a&&e.push(r)}return e.sort()},cookiesEnabled:function(){var e=document;try{e.cookie="cookietest=1; SameSite=Strict;";var t=-1!==e.cookie.indexOf("cookietest=");return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch{return!1}},colorGamut:function(){for(var e=0,t=["rec2020","p3","srgb"];e<t.length;e++){var n=t[e];if(matchMedia("(color-gamut: ".concat(n,")")).matches)return n}},invertedColors:function(){return!!Vs("inverted")||!Vs("none")&&void 0},forcedColors:function(){return!!Xs("active")||!Xs("none")&&void 0},monochrome:function(){if(matchMedia("(min-monochrome: 0)").matches){for(var e=0;e<=100;++e)if(matchMedia("(max-monochrome: ".concat(e,")")).matches)return e;throw new Error("Too high value")}},contrast:function(){return Gs("no-preference")?0:Gs("high")||Gs("more")?1:Gs("low")||Gs("less")?-1:Gs("forced")?10:void 0},reducedMotion:function(){return!!Zs("reduce")||!Zs("no-preference")&&void 0},hdr:function(){return!!Ks("high")||!Ks("standard")&&void 0},math:function(){var e,t=Js.acos||Ys,n=Js.acosh||Ys,r=Js.asin||Ys,a=Js.asinh||Ys,s=Js.atanh||Ys,o=Js.atan||Ys,i=Js.sin||Ys,l=Js.sinh||Ys,u=Js.cos||Ys,c=Js.cosh||Ys,d=Js.tan||Ys,p=Js.tanh||Ys,m=Js.exp||Ys,f=Js.expm1||Ys,y=Js.log1p||Ys;return{acos:t(.12312423423423424),acosh:n(1e308),acoshPf:(e=1e154,Js.log(e+Js.sqrt(e*e-1))),asin:r(.12312423423423424),asinh:a(1),asinhPf:function(e){return Js.log(e+Js.sqrt(e*e+1))}(1),atanh:s(.5),atanhPf:function(e){return Js.log((1+e)/(1-e))/2}(.5),atan:o(.5),sin:i(-1e300),sinh:l(1),sinhPf:function(e){return Js.exp(e)-1/Js.exp(e)/2}(1),cos:u(10.000000000123),cosh:c(1),coshPf:function(e){return(Js.exp(e)+1/Js.exp(e))/2}(1),tan:d(-1e300),tanh:p(1),tanhPf:function(e){return(Js.exp(2*e)-1)/(Js.exp(2*e)+1)}(1),exp:m(1),expm1:f(1),expm1Pf:function(e){return Js.exp(e)-1}(1),log1p:y(10),log1pPf:function(e){return Js.log(1+e)}(10),powPI:function(e){return Js.pow(Js.PI,e)}(-100)}},videoCard:function(){var e,t=document.createElement("canvas"),n=null!==(e=t.getContext("webgl"))&&void 0!==e?e:t.getContext("experimental-webgl");if(n&&"getExtension"in n){var r=n.getExtension("WEBGL_debug_renderer_info");if(r)return{vendor:(n.getParameter(r.UNMASKED_VENDOR_WEBGL)||"").toString(),renderer:(n.getParameter(r.UNMASKED_RENDERER_WEBGL)||"").toString()}}},pdfViewerEnabled:function(){return navigator.pdfViewerEnabled},architecture:function(){var e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]}};function to(e){var t=function(e){if(Ts())return.4;if(Ls())return Es()?.5:.3;var t=e.platform.value||"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}(e),n=function(e){return Ss(.99+.01*e,1e-4)}(t);return{score:t,comment:"$ if upgrade to Pro: https://fpjs.dev/pro".replace(/\$/g,"".concat(n))}}function no(e){return JSON.stringify(e,function(e,t){return t instanceof Error?function(e){var t;return rs({name:e.name,message:e.message,stack:null===(t=e.stack)||void 0===t?void 0:t.split("\n")},e)}(t):t},2)}function ro(e){return function(e,t){t=t||0;var n,r=(e=e||"").length%16,a=e.length-r,s=[0,t],o=[0,t],i=[0,0],l=[0,0],u=[2277735313,289559509],c=[1291169091,658871167];for(n=0;n<a;n+=16)i=[255&e.charCodeAt(n+4)|(255&e.charCodeAt(n+5))<<8|(255&e.charCodeAt(n+6))<<16|(255&e.charCodeAt(n+7))<<24,255&e.charCodeAt(n)|(255&e.charCodeAt(n+1))<<8|(255&e.charCodeAt(n+2))<<16|(255&e.charCodeAt(n+3))<<24],l=[255&e.charCodeAt(n+12)|(255&e.charCodeAt(n+13))<<8|(255&e.charCodeAt(n+14))<<16|(255&e.charCodeAt(n+15))<<24,255&e.charCodeAt(n+8)|(255&e.charCodeAt(n+9))<<8|(255&e.charCodeAt(n+10))<<16|(255&e.charCodeAt(n+11))<<24],i=ys(i=fs(i,u),31),s=ms(s=ys(s=gs(s,i=fs(i,c)),27),o),s=ms(fs(s,[0,5]),[0,1390208809]),l=ys(l=fs(l,c),33),o=ms(o=ys(o=gs(o,l=fs(l,u)),31),s),o=ms(fs(o,[0,5]),[0,944331445]);switch(i=[0,0],l=[0,0],r){case 15:l=gs(l,hs([0,e.charCodeAt(n+14)],48));case 14:l=gs(l,hs([0,e.charCodeAt(n+13)],40));case 13:l=gs(l,hs([0,e.charCodeAt(n+12)],32));case 12:l=gs(l,hs([0,e.charCodeAt(n+11)],24));case 11:l=gs(l,hs([0,e.charCodeAt(n+10)],16));case 10:l=gs(l,hs([0,e.charCodeAt(n+9)],8));case 9:l=fs(l=gs(l,[0,e.charCodeAt(n+8)]),c),o=gs(o,l=fs(l=ys(l,33),u));case 8:i=gs(i,hs([0,e.charCodeAt(n+7)],56));case 7:i=gs(i,hs([0,e.charCodeAt(n+6)],48));case 6:i=gs(i,hs([0,e.charCodeAt(n+5)],40));case 5:i=gs(i,hs([0,e.charCodeAt(n+4)],32));case 4:i=gs(i,hs([0,e.charCodeAt(n+3)],24));case 3:i=gs(i,hs([0,e.charCodeAt(n+2)],16));case 2:i=gs(i,hs([0,e.charCodeAt(n+1)],8));case 1:i=fs(i=gs(i,[0,e.charCodeAt(n)]),u),s=gs(s,i=fs(i=ys(i,31),c))}return s=ms(s=gs(s,[0,e.length]),o=gs(o,[0,e.length])),o=ms(o,s),s=ms(s=bs(s),o=bs(o)),o=ms(o,s),("00000000"+(s[0]>>>0).toString(16)).slice(-8)+("00000000"+(s[1]>>>0).toString(16)).slice(-8)+("00000000"+(o[0]>>>0).toString(16)).slice(-8)+("00000000"+(o[1]>>>0).toString(16)).slice(-8)}(function(e){for(var t="",n=0,r=Object.keys(e).sort();n<r.length;n++){var a=r[n],s=e[a],o=s.error?"error":JSON.stringify(s.value);t+="".concat(t?"|":"").concat(a.replace(/([:|\\])/g,"\\$1"),":").concat(o)}return t}(e))}function ao(e){return void 0===e&&(e=50),function(e,t){void 0===t&&(t=1/0);var n=window.requestIdleCallback;return n?new Promise(function(e){return n.call(window,function(){return e()},{timeout:t})}):ls(Math.min(e,t))}(e,2*e)}function so(e,t){var n=Date.now();return{get:function(r){return as(this,0,void 0,function(){var a,s,o;return ss(this,function(i){switch(i.label){case 0:return a=Date.now(),[4,e()];case 1:return s=i.sent(),o=function(e){var t,n=to(e);return{get visitorId(){return void 0===t&&(t=ro(this.components)),t},set visitorId(e){t=e},confidence:n,components:e,version:is}}(s),(t||null!=r&&r.debug)&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(o.version,"\nuserAgent: ").concat(navigator.userAgent,"\ntimeBetweenLoadAndGet: ").concat(a-n,"\nvisitorId: ").concat(o.visitorId,"\ncomponents: ").concat(no(s),"\n```")),[2,o]}})})}}}var oo={load:function(e){var t=void 0===e?{}:e,n=t.delayFallback,r=t.debug,a=t.monitoring,s=void 0===a||a;return as(this,0,void 0,function(){var e;return ss(this,function(a){switch(a.label){case 0:return s&&function(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var e=new XMLHttpRequest;e.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat(is,"/npm-monitoring"),!0),e.send()}catch(t){console.error(t)}}(),[4,ao(n)];case 1:return a.sent(),e=function(e){return Cs(eo,e,[])}({debug:r}),[2,so(e,r)]}})})},hashComponents:ro,componentsToDebugString:no};async function io(){try{const e="object"==typeof Cypress,t="object"==typeof process&&"test"===ns;return e||t?"a-mock-visitor-id":(await(await oo.load()).get()).visitorId}catch(e){return console.error(e),null}}async function lo(){return new Promise(e=>{window.requestIdleCallback?requestIdleCallback(async()=>{const t=await io();e(t)},{timeout:200}):setTimeout(async()=>{const t=await io();e(t)},200)})}async function uo({env:e,kountAccountId:t,kountSessionId:n}){return new Promise((r,a)=>{const s=(({env:e,kountAccountId:t,kountSessionId:n})=>{if(null===t)throw new Error("Kount account ID is required");const r=(e=>"production"===e)(e)?"https://ssl.kaptcha.com":"https://tst.kaptcha.com",a=new URL(`${r}/collect/sdk`);a.searchParams.append("m",t),n&&a.searchParams.append("m",n);const s=document.createElement("script");return s.setAttribute("class","kaxsdc"),s.setAttribute("data-event","load"),s.setAttribute("type","text/javascript"),s.setAttribute("src",a.href),document.body.append(s),s})({env:e,kountAccountId:t,kountSessionId:n});s.onload=()=>{const e=new ka.ClientSDK;e.setupCallback({"collect-begin":e=>{const{MercSessId:t}=e;r(t)}}),e.autoLoadEvents()},s.onerror=()=>{a(new Error("Error attempting to mount Kount script"))}})}const co=()=>{const e=document.createElement("script");return e.src="https://cdn.rebilly.com/risk-data-collector/@latest/google-adsense.js",new Promise(t=>{e.onload=()=>{t(null===document.getElementById("fj2xFkdsoQIQna"))},e.onerror=()=>t(!0),document.head.appendChild(e)}).catch(()=>!0)};async function po({env:e=null,kountAccountId:t=null,kountSessionId:n=null}={env:null,kountAccountId:null}){return async function({env:e=null,kountAccountId:t=null,kountSessionId:n=null}){const{colorDepth:r,height:a,width:s}=screen||{},{javaEnabled:o,language:i}=navigator||{};let l,u=null,c=null;try{[c,u,l]=await Promise.all([co(),lo(),t?uo({env:e,kountAccountId:t,kountSessionId:n}):void 0])}catch(d){console.error(d)}return{riskMetadata:{fingerprint:u||null,extraData:{kountFraudSessionId:l||null},browserData:{colorDepth:r||null,isJavaEnabled:o?o.call(navigator):null,language:i||null,screenHeight:a||null,screenWidth:s||null,timeZoneOffset:(new Date).getTimezoneOffset(),isAdBlockEnabled:c}}}}({env:e,kountAccountId:t,kountSessionId:n})}function mo(){var e;const t={expressMethods:[],methods:[]};let n=Ge.data.readyToPay;return(null==(e=Ge.options)?void 0:e.payout)&&(n=Ge.data.readyToPayout),null==n||n.forEach(e=>{e.metadata.isExpressMethod?t.expressMethods.push(e):t.methods.push(e)}),t}class fo extends pt{}function yo(e){return null==e?null:"string"==typeof e?Number.isNaN(parseFloat(e))?null:parseFloat(e):e}class ho{constructor({maxQuantity:e=null,price:t=null}={}){this.maxQuantity=e||Number.MAX_SAFE_INTEGER,this.price=yo(t)}}const go=class e{constructor(t={}){switch(this.formula=t.formula??e.Formulas.fixedFee,t.formula){case e.Formulas.stairstep:case e.Formulas.tiered:case e.Formulas.volume:if(null==t.brackets)throw new Error("Invalid brackets.");this.brackets=t.brackets.map(e=>new ho(e));break;case e.Formulas.flatRate:this.price=yo(t.price)??0,this.maxQuantity=t.maxQuantity??null;break;case e.Formulas.fixedFee:default:this.price=yo(t.price)??0}}get isSimple(){return Object.values(e.SimpleFormulas).includes(this.formula)}get isBracket(){return Object.values(e.BracketFormulas).includes(this.formula)}toPayload(){return{...this,isSimple:this.isSimple,isBracket:this.isBracket}}};go.SimpleFormulas={fixedFee:"fixed-fee",flatRate:"flat-rate"},go.BracketFormulas={stairstep:"stairstep",tiered:"tiered",volume:"volume"},go.Formulas={...go.SimpleFormulas,...go.BracketFormulas};let bo=go;class vo extends pt{constructor(e={}){super(e),this.pricing=new bo(e.pricing||{})}toPayload(){return{...this,pricing:this.pricing.toPayload()}}}const wo=[{apiName:"ach",name:"ACH",landscapeLogo:null,portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/BankAccount.svg",summary:"ACH is a network used for processing transactions across the United States.",description:"ACH is a network used for processing transactions across the United States.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["USD"]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[{description:"Customer selects ACH debit at checkout"},{description:"Enters bank details"},{description:"Recieves payment initiation confirmaiton"}],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/ach"}]},{apiName:"AdvCash",name:"AdvCash",landscapeLogo:null,portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/AdvCash.svg",summary:"AdvCash is an online payment system offering prepaid cards for individuals and\nonline businesses.\n",description:"AdvCash is an online payment system offering prepaid cards for individuals and\nonline businesses.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Credit card",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["USD","EUR","RUB","UAH","KZT","BRL","TRY"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/AdvCash"}]},{apiName:"Affirm",name:"Affirm",landscapeLogo:null,portraitLogo:null,summary:"Affirm is an American buy now, pay later solution allowing shoppers in the US, Canada, and the UK to pay for their purchases in installments.\n",description:"Affirm is an American buy now, pay later solution allowing shoppers in the US, Canada, and the UK to pay for their purchases in installments.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Affirm"}]},{apiName:"Afterpay",name:"Afterpay",landscapeLogo:null,portraitLogo:null,summary:"Afterpay is a popular buy now, pay later service in Australia, Canada, and New Zealand.\n",description:"Afterpay is a popular buy now, pay later service in Australia, Canada, and New Zealand.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Afterpay"}]},{apiName:"Aircash",name:"Aircash",landscapeLogo:null,portraitLogo:null,summary:"Aircash is a mobile payment wallet that allows customers to pay for goods and services using their mobile phone.\n",description:"Aircash is a mobile payment wallet that allows customers to pay for goods and services using their mobile phone.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["EUR"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Aircash"}]},{apiName:"Airpay",name:"Airpay",landscapeLogo:null,portraitLogo:null,summary:"Airpay is an e-wallet that elevates you to an easier and more convenient\nlifestyle with all in one services.\n",description:"Airpay is an e-wallet that elevates you to an easier and more convenient\nlifestyle with all in one services.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!0,refunds:!0,disputes:!1,ux:[{description:"Customer selects Airpay at checkout"},{description:"Customer is redirected to Rebilly hosted page"},{description:"customer is redirected to AirPay to complete payment"}],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Airpay"}]},{apiName:"Alfa-click",name:"Alfa-click",landscapeLogo:null,portraitLogo:null,summary:"Alfa-click combines digital and physical payment experiences and is among the\nhighest ranking Russian private banks.\n",description:"Alfa-click combines digital and physical payment experiences and is among the\nhighest ranking Russian private banks.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Credit card",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["USD","EUR","GBP","CHF"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Alfa-click"}]},{apiName:"Alipay",name:"Alipay",landscapeLogo:null,portraitLogo:null,summary:"Alipay is the most popular e-wallet and payment platform in Asia. Millions of\ntransactions are processed each day in China.\n",description:"Alipay is the most popular e-wallet and payment platform in Asia. Millions of\ntransactions are processed each day in China.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["USD","AUD","CAD","CNY","EUR","GBP","HKD","JPY","MYR","NZD"]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Alipay"}]},{apiName:"AmazonPay",name:"AmazonPay",landscapeLogo:null,portraitLogo:null,summary:"The AmazonPay method.",description:"The AmazonPay method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/AmazonPay"}]},{apiName:"Apple Pay",name:"Apple Pay",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Applepay.svg",portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/Applepay.svg",summary:"Apple Pay is a digital wallet that also allows users to make payments in\nperson using a one-step payment process.\n",description:"Apple Pay is a digital wallet that also allows users to make payments in\nperson using a one-step payment process.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!1,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!1,refunds:!0,disputes:!0,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Apple%20Pay"}]},{apiName:"AstroPay Card",name:"AstroPay Card",landscapeLogo:null,portraitLogo:null,summary:"AstroPay Card allows consumers to purchase online at international websites,\nusing the most effective local payment methods in local currency.\n",description:"AstroPay Card allows consumers to purchase online at international websites,\nusing the most effective local payment methods in local currency.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Credit card",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/AstroPay%20Card"}]},{apiName:"AstroPay-GO",name:"AstroPay Go",landscapeLogo:null,portraitLogo:null,summary:"AstroPay allows consumers to purchase online at international websites, using\nthe most effective local payment methods in local currency.\n",description:"AstroPay allows consumers to purchase online at international websites, using\nthe most effective local payment methods in local currency.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/AstroPay-GO"}]},{apiName:"BVNK",name:"BVNK",landscapeLogo:null,portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/BVNK.svg",summary:"BVNK provides stablecoin payments infrastructure, unifying banks and blockchains in a single API platform, to accelerate global money movement.",description:"BVNK provides stablecoin payments infrastructure, unifying banks and blockchains in a single API platform, to accelerate global money movement.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Cryptocurrency",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/BVNK"}]},{apiName:"Baloto",name:"Baloto",landscapeLogo:null,portraitLogo:null,summary:"Baloto is Colombia's largest lottery and payment service and is used by 80% of\nthe Colombian population.\n",description:"Baloto is Colombia's largest lottery and payment service and is used by 80% of\nthe Colombian population.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Baloto"}]},{apiName:"Bancontact-mobile",name:"Bancontact-mobile",landscapeLogo:null,portraitLogo:null,summary:"Bancontact mobile allows the shopper to complete a payment with the mobile\napp. installed on their device.\n",description:"Bancontact mobile allows the shopper to complete a payment with the mobile\napp. installed on their device.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["EUR"]},recurringPayments:!0,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Bancontact-mobile"}]},{apiName:"Bancontact",name:"Bancontact",landscapeLogo:null,portraitLogo:null,summary:"Bancontact is a payment system offered by more than 80% of online Belgian\nbusinesses and functions like a regular card payment.\n",description:"Bancontact is a payment system offered by more than 80% of online Belgian\nbusinesses and functions like a regular card payment.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Credit card",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["EUR"]},recurringPayments:!0,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Bancontact"}]},{apiName:"BankReferenced",name:"BankReferenced",landscapeLogo:null,portraitLogo:null,summary:"The BankReferenced method.",description:"The BankReferenced method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/BankReferenced"}]},{apiName:"BankSEND",name:"BankSEND",landscapeLogo:null,portraitLogo:null,summary:"With the BankSEND platform, customers pay with their online banking data using direct bank transfer.\n",description:"With the BankSEND platform, customers pay with their online banking data using direct bank transfer.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["CAD"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/BankSEND"}]},{apiName:"bank-transfer",name:"Bank Transfer",landscapeLogo:null,portraitLogo:null,summary:"A bank transfer is the direct, electronic transfer of funds from one bank\naccount to another.\n",description:"A bank transfer is the direct, electronic transfer of funds from one bank\naccount to another.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[{description:"Customer selects ACH debit at checkout"},{description:"Enters bank details"},{description:"Recieves payment initiation confirmaiton"}],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/bank-transfer"}]},{apiName:"Beeline",name:"Beeline",landscapeLogo:null,portraitLogo:null,summary:"Beeline offers a universal payment card and a mobile prepaid network system\nthat allows money transfers between Beeline subscribers.\n",description:"Beeline offers a universal payment card and a mobile prepaid network system\nthat allows money transfers between Beeline subscribers.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet + Card",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["AMD"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Beeline"}]},{apiName:"Belfius-direct-net",name:"Belfius Direct Net",landscapeLogo:null,portraitLogo:null,summary:"Belfius is one of the leading online private banks in Belgium. They are used\nby 1 in 3 Belgians and have over 3.6 million customers.\n",description:"Belfius is one of the leading online private banks in Belgium. They are used\nby 1 in 3 Belgians and have over 3.6 million customers.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Belfius-direct-net"}]},{apiName:"bitcoin",name:"Bitcoin",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Bitcoin.svg",portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/Bitcoin.svg",summary:"Bitcoin payment method provides a borderless payment network and a seamless\ntransfer of bitcoins from anywhere in the world through any online devices.\n",description:"Bitcoin payment method provides a borderless payment network and a seamless\ntransfer of bitcoins from anywhere in the world through any online devices.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Cryptocurrency",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/bitcoin"}]},{apiName:"Bizum",name:"Bizum",landscapeLogo:null,portraitLogo:null,summary:"Bizum is the immediate, fast, convenient and universal mobile payment solution promoted by Spanish banks.",description:"Bizum is the immediate, fast, convenient and universal mobile payment solution promoted by Spanish banks.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Bizum"}]},{apiName:"Blik",name:"Blik",landscapeLogo:null,portraitLogo:null,summary:"Blik is a Polish payment system that allows users to make instant payments and\nwithdraw cash using a mobile banking app.\n",description:"Blik is a Polish payment system that allows users to make instant payments and\nwithdraw cash using a mobile banking app.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["PLN"]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Blik"}]},{apiName:"Boleto",name:"Boleto",landscapeLogo:null,portraitLogo:null,summary:"Boleto is Brazil's most popular cash-based payment method. It's the only\npayment option available for 35% of Brazillian consumers without a bank\naccount.\n",description:"Boleto is Brazil's most popular cash-based payment method. It's the only\npayment option available for 35% of Brazillian consumers without a bank\naccount.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Voucher",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Boleto"}]},{apiName:"CASHlib",name:"CASHlib",landscapeLogo:null,portraitLogo:null,summary:"CASHlib is a voucher based payment method that allows you to make online\npayments without the need of a credit or debit card.\n",description:"CASHlib is a voucher based payment method that allows you to make online\npayments without the need of a credit or debit card.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Voucher",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["EUR"]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/CASHlib"}]},{apiName:"CCAvenue",name:"CCAvenue",landscapeLogo:"https://app.rebilly.com/static/payment-methods/portrait/PaymentCard.svg",portraitLogo:null,summary:"CCAvenue Checkout offers a smooth, fast and frictionless buying experience.\n",description:"CCAvenue Checkout offers a smooth, fast and frictionless buying experience.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!0,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/CCAvenue"}]},{apiName:"CODVoucher",name:"CODVoucher",landscapeLogo:null,portraitLogo:null,summary:"CODVoucher offers a digital voucher that the customer can scan at an\nauthorized location and pay with cash.\n",description:"CODVoucher offers a digital voucher that the customer can scan at an\nauthorized location and pay with cash.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Voucher",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/CODVoucher"}]},{apiName:"cash",name:"Cash",landscapeLogo:null,portraitLogo:null,summary:"Cash is money in a physical form like coins or notes.",description:"Cash is money in a physical form like coins or notes.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Cash",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!1,refunds:!0,disputes:!0,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/cash"}]},{apiName:"cash-deposit",name:"Cash Deposit",landscapeLogo:null,portraitLogo:null,summary:"A cash deposit is money put into a bank account in the form of cash, checks,\nor bank transfers.\n",description:"A cash deposit is money put into a bank account in the form of cash, checks,\nor bank transfers.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/cash-deposit"}]},{apiName:"CashToCode",name:"CashToCode",landscapeLogo:null,portraitLogo:null,summary:"CashToCode is an instant cash payment service that does not require a bank\naccount or credit card.\n",description:"CashToCode is an instant cash payment service that does not require a bank\naccount or credit card.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Voucher",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["EUR"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/CashToCode"}]},{apiName:"Cashterminal",name:"Cash Terminal",landscapeLogo:null,portraitLogo:null,summary:"A Bulgarian based service, which provides the ability to pay in cash and in real time.\n",description:"A Bulgarian based service, which provides the ability to pay in cash and in real time.\n",countries:{mode:"subset",values:["BG"]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["BGN"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Cashterminal"}]},{apiName:"check",name:"Check",landscapeLogo:null,portraitLogo:null,summary:"Checks are physical documents that direct a bank to pay a specific amount of\nmoney to the recipient of the check.\n",description:"Checks are physical documents that direct a bank to pay a specific amount of\nmoney to the recipient of the check.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Check",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/check"}]},{apiName:"China UnionPay",name:"China UnionPay",landscapeLogo:null,portraitLogo:null,summary:"China UnionPay is the largest card scheme in China while also offering mobile\nand online payments. China UnionPay has over 7 billion cards in use and is\nconnected to all the ATMs across the country.\n",description:"China UnionPay is the largest card scheme in China while also offering mobile\nand online payments. China UnionPay has over 7 billion cards in use and is\nconnected to all the ATMs across the country.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!1,isSingleUse:!1,type:"Wallet + Card",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/China%20UnionPay"}]},{apiName:"Clearpay",name:"Clearpay",landscapeLogo:null,portraitLogo:null,summary:"Clearpay is a popular buy now, pay later service in the United Kingdom.\n",description:"Clearpay is a popular buy now, pay later service in the United Kingdom.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Clearpay"}]},{apiName:"Conekta-oxxo",name:"Conekta OXXO",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/ConektaOxxo.svg",portraitLogo:null,summary:"Conekta OXXO Pay allows customers to purchase online or instore with a\ncash-based voucher. 30% of transactions in Mexico are with OXXO and they offer\nreal-time payment confirmation.\n",description:"Conekta OXXO Pay allows customers to purchase online or instore with a\ncash-based voucher. 30% of transactions in Mexico are with OXXO and they offer\nreal-time payment confirmation.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Voucher",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["MXN"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Conekta-oxxo"}]},{apiName:"Conekta-spei",name:"Conekta SPEI",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/ConektaOxxo.svg",portraitLogo:null,summary:"Conekta SPEI allows its customers to send and receive interbank electronic\ntransfers and obtain real-time payment confirmation in seconds.\n",description:"Conekta SPEI allows its customers to send and receive interbank electronic\ntransfers and obtain real-time payment confirmation in seconds.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["MXN"]},recurringPayments:!0,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Conekta-spei"}]},{apiName:"cryptocurrency",name:"Cryptocurrency",landscapeLogo:null,portraitLogo:null,summary:"Cryptocurrency is a decentralized, digital currency based on blockchain\ntechnology which makes it nearly impossible to counterfeit or double-spend.\n",description:"Cryptocurrency is a decentralized, digital currency based on blockchain\ntechnology which makes it nearly impossible to counterfeit or double-spend.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Cryptocurrency",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/cryptocurrency"}]},{apiName:"Cupon-de-pagos",name:"Cupon de Pagos",landscapeLogo:null,portraitLogo:null,summary:"The Cupon de Pagos method.",description:"The Cupon de Pagos method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Cupon-de-pagos"}]},{apiName:"CyberSource",name:"CyberSource",landscapeLogo:null,portraitLogo:null,summary:"CyberSource ia an e-commerce credit card payment system that allows customers\nto process online payments.\n",description:"CyberSource ia an e-commerce credit card payment system that allows customers\nto process online payments.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Credit card",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["USD","LBP"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/CyberSource"}]},{apiName:"Dimoco-pay-smart",name:"Dimoco pay smart",landscapeLogo:null,portraitLogo:null,summary:"The Dimoco pay smart method.\n",description:"The Dimoco pay smart method.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:null,relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Dimoco-pay-smart"}]},{apiName:"Directa24Card",name:"Directa24Card",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Directa24Card.svg",portraitLogo:null,summary:"Directa24 was formerly known as Astropay and specialized in Latin American local payment methods. They have expanded to include other emerging markets.\n",description:"Directa24 was formerly known as Astropay and specialized in Latin American local payment methods. They have expanded to include other emerging markets.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!0,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Directa24Card"}]},{apiName:"domestic-cards",name:"Domestic Cards",landscapeLogo:null,portraitLogo:null,summary:"The Domestic Cards method.",description:"The Domestic Cards method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/domestic-cards"}]},{apiName:"EPS",name:"EPS",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/EPS.svg",portraitLogo:null,summary:"EPS is an online transfer payment method accepted by 80% of all online\nbusinesses in Austria.\n",description:"EPS is an online transfer payment method accepted by 80% of all online\nbusinesses in Austria.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["EUR"]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/EPS"}]},{apiName:"e-wallet",name:"eWallet",landscapeLogo:null,portraitLogo:null,summary:"An e-Wallet is an electronic system that securely stores payment information\nthat allows for quick and easy digital transactions.\n",description:"An e-Wallet is an electronic system that securely stores payment information\nthat allows for quick and easy digital transactions.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/e-wallet"}]},{apiName:"eZeeWallet",name:"eZeeWallet",landscapeLogo:null,portraitLogo:null,summary:"eZeeWallet is a digital wallet that offers secure, customer-focused payment services that make paying\nand getting paid simple and hassle-free.\n",description:"eZeeWallet is a digital wallet that offers secure, customer-focused payment services that make paying\nand getting paid simple and hassle-free.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/eZeeWallet"}]},{apiName:"echeck",name:"eCheck",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Echeck.svg",portraitLogo:null,summary:"An eCheck is a digital version of a traditional paper check.",description:"An eCheck is a digital version of a traditional paper check.",countries:{mode:"unknown",values:[]},storefrontEnabled:!1,isSingleUse:!1,type:"Check",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/echeck"}]},{apiName:"ecoPayz",name:"ecoPayz",landscapeLogo:null,portraitLogo:null,summary:"ecoPAYZ is one of the oldest e-wallets and allows its customers to receive,\nsend, and spend money worldwide all from one online account.\n",description:"ecoPAYZ is one of the oldest e-wallets and allows its customers to receive,\nsend, and spend money worldwide all from one online account.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet + Card",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/ecoPayz"}]},{apiName:"ecoVoucher",name:"ecoVoucher",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Ecovoucher.svg",portraitLogo:null,summary:"ecoVoucher is offered by ecoPayz and is a prepaid payment method that allows\ncustomers to pay online securely.\n",description:"ecoVoucher is offered by ecoPayz and is a prepaid payment method that allows\ncustomers to pay online securely.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Voucher",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["USD"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/ecoVoucher"}]},{apiName:"Efecty",name:"Efecty",landscapeLogo:null,portraitLogo:null,summary:"Efecty is a Colombian-based offline cash payment voucher option. It is one of\nthe most popular payment methods in Colombia to pay utility bills and online\npurchases.\n",description:"Efecty is a Colombian-based offline cash payment voucher option. It is one of\nthe most popular payment methods in Colombia to pay utility bills and online\npurchases.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Voucher",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["COP"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Efecty"}]},{apiName:"Ethereum",name:"Ethereum",landscapeLogo:null,portraitLogo:null,summary:"Ethereum is a decentralizaed blockchain platform that offers open access to\ndigital money and data-friendly services. It is the second largest\ncryptocurrency in the market after Bitcoin.\n",description:"Ethereum is a decentralizaed blockchain platform that offers open access to\ndigital money and data-friendly services. It is the second largest\ncryptocurrency in the market after Bitcoin.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Cryptocurrency",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Ethereum"}]},{apiName:"FasterPay",name:"FasterPay",landscapeLogo:null,portraitLogo:null,summary:"The FasterPay method\n",description:"The FasterPay method\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:[],supportedCurrencies:{mode:"subset",values:["USD","EUR","GBP","CAD","DKK","NOK","SEK","CHF","CZK","HKD","PLN","SGD","NZD","HUF","JPY","AUD"]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/FasterPay"}]},{apiName:"Flexepin",name:"Flexepin",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Flexepin.svg",portraitLogo:null,summary:"Flexepin is owned and operated by FlexeWallet and their vouchers are issued\nunder an Australian Financial Services License.\n",description:"Flexepin is owned and operated by FlexeWallet and their vouchers are issued\nunder an Australian Financial Services License.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["USD"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Flexepin"}]},{apiName:"Giropay",name:"Giropay",landscapeLogo:null,portraitLogo:null,summary:"Giropay is an online payment method offered by more than 1,500 banks in\nGermany. Giropay uses real-time bank transfers and thier payments are 100%\nguaranteed.\n",description:"Giropay is an online payment method offered by more than 1,500 banks in\nGermany. Giropay uses real-time bank transfers and thier payments are 100%\nguaranteed.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["EUR"]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Giropay"}]},{apiName:"Google Pay",name:"Google Pay",landscapeLogo:null,portraitLogo:null,summary:"Google Pay enables customers to pay with any payment method that is saved to\ntheir Google account.\n",description:"Google Pay enables customers to pay with any payment method that is saved to\ntheir Google account.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!1,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!0,refunds:!0,disputes:!0,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Google%20Pay"}]},{apiName:"Gpaysafe",name:"Gpaysafe",landscapeLogo:null,portraitLogo:null,summary:"Gpaysafe allows merchants to do business globally with a single API solution.",description:"Gpaysafe allows merchants to do business globally with a single API solution.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Credit card",relevantBusinessModels:["B2B"],supportedCurrencies:{mode:"subset",values:["USD"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Gpaysafe"}]},{apiName:"iDEAL",name:"iDEAL",landscapeLogo:null,portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/iDEAL.svg",summary:"iDEAL allows customers to complete transactions online using their bank\ncredentials. It is the most popular payment method in the Netherlands with a\nuse of nearly 55%.\n",description:"iDEAL allows customers to complete transactions online using their bank\ncredentials. It is the most popular payment method in the Netherlands with a\nuse of nearly 55%.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["EUR"]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/iDEAL"}]},{apiName:"iDebit",name:"iDebit",landscapeLogo:null,portraitLogo:null,summary:"iDebit is an online banking based payment method made available to consumers\nin Canada, connecting them to secure, real-time payments without a credit\ncard.\n",description:"iDebit is an online banking based payment method made available to consumers\nin Canada, connecting them to secure, real-time payments without a credit\ncard.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["USD"]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/iDebit"}]},{apiName:"ING-homepay",name:"ING Homepay",landscapeLogo:null,portraitLogo:null,summary:"ING Homepay is an online payment method that allows payments over online\nbanking with the Belgian ING branch.\n",description:"ING Homepay is an online payment method that allows payments over online\nbanking with the Belgian ING branch.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["EUR"]},recurringPayments:!1,refunds:!0,disputes:!0,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/ING-homepay"}]},{apiName:"INOVAPAY-pin",name:"INOVAPAY Pin",landscapeLogo:null,portraitLogo:null,summary:"The INOVAPAY Pin method.",description:"The INOVAPAY Pin method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/INOVAPAY-pin"}]},{apiName:"INOVAPAY-wallet",name:"INOVAPAY Wallet",landscapeLogo:null,portraitLogo:null,summary:"INOVAPAY Wallet is an international e-money transfer service used to transfer\nmoney to and from merchants.\n",description:"INOVAPAY Wallet is an international e-money transfer service used to transfer\nmoney to and from merchants.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["USD"]},recurringPayments:!0,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/INOVAPAY-wallet"}]},{apiName:"InstaDebit",name:"InsataDebit",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Instadebit.svg",portraitLogo:null,summary:"The InstaDebit method.\n",description:"The InstaDebit method.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:null,relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/InstaDebit"}]},{apiName:"instant-bank-transfer",name:"Instant Bank Transfer",landscapeLogo:null,portraitLogo:null,summary:"Instant bank transfers allow consumers to make payments instantly. Both\nconsumers and merchants can receive and send funds immediately.\n",description:"Instant bank transfers allow consumers to make payments instantly. Both\nconsumers and merchants can receive and send funds immediately.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!0,refunds:!0,disputes:!0,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/instant-bank-transfer"}]},{apiName:"Instant Banking",name:"Instant Banking",landscapeLogo:null,portraitLogo:null,summary:"Instant Banking enables consumers to make payments to merchants using funds from their bank account.\n",description:"Instant Banking enables consumers to make payments to merchants using funds from their bank account.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Instant%20Banking"}]},{apiName:"InstantPayments",name:"Instant Payments",landscapeLogo:null,portraitLogo:null,summary:"Instant Payments enables consumers to make payments to merchants using funds from their bank account.\n",description:"Instant Payments enables consumers to make payments to merchants using funds from their bank account.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/InstantPayments"}]},{apiName:"Interac",name:"Interac",landscapeLogo:null,portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/Interac.svg",summary:"Interac is a Canadian debit card system that allows funds to be sent via its\ne-Transfer service.\n",description:"Interac is a Canadian debit card system that allows funds to be sent via its\ne-Transfer service.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Credit card",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["CAD"]},recurringPayments:!1,refunds:!0,disputes:!0,ux:[{description:"Customer selects Interac at checkout"},{description:"Customer selects their bank"},{description:"The available Interac methods are displayed (Interac Online, Interac\ne-Transfer, Interac e-Transfer Online), Customer selects Interac method -\nNEED TO TEST FURTHER\n"}],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Interac"}]},{apiName:"Interac-eTransfer",name:"Interac eTransfer",landscapeLogo:null,portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/Interac.svg",summary:"Interac eTransfer is a Canadian interbank network that allows merchants,\nfinancial institutions, and consumers to exchange electronic funds.\n",description:"Interac eTransfer is a Canadian interbank network that allows merchants,\nfinancial institutions, and consumers to exchange electronic funds.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[{description:"Customer selects Interac at checkout"},{description:"Customer selects their bank"},{description:"The available Interac methods are displayed (Interac Online, Interac\ne-Transfer, Interac e-Transfer Online), Customer selects Interac method\n"}],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Interac-eTransfer"}]},{apiName:"Interac-express-connect",name:"Interac Express Connect",landscapeLogo:null,portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/Interac.svg",summary:"Interac Express Connect is an e-wallet that allows payments via multiple\nchannels including paypal, Interac e-transfer, and credit cards.\n",description:"Interac Express Connect is an e-wallet that allows payments via multiple\nchannels including paypal, Interac e-transfer, and credit cards.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Interac-express-connect"}]},{apiName:"Interac-online",name:"Interac Online",landscapeLogo:null,portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/Interac.svg",summary:"Interac Online is a payment option that enables consumers to shop online and\npay for goods through the RBC online banking account.\n",description:"Interac Online is a payment option that enables consumers to shop online and\npay for goods through the RBC online banking account.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Interac-online"}]},{apiName:"invoice",name:"Invoice",landscapeLogo:null,portraitLogo:null,summary:"An invoice is a document issued by a merchant to a consumer relating to a sale\ntransaction and can inform products, prices, quantities, or services.\n",description:"An invoice is a document issued by a merchant to a consumer relating to a sale\ntransaction and can inform products, prices, quantities, or services.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Invoice",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/invoice"}]},{apiName:"Jeton",name:"Jeton",landscapeLogo:null,portraitLogo:null,summary:"Jeton is a digital wallet that allows users to exchange money, make secure\nmoney transfers and purchases online.\n",description:"Jeton is a digital wallet that allows users to exchange money, make secure\nmoney transfers and purchases online.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Jeton"}]},{apiName:"JetonCash",name:"JetonCash",landscapeLogo:null,portraitLogo:null,summary:"JetonCash is a digital wallet that allows users to exchange money, make secure\nmoney transfers and purchases online.\n",description:"JetonCash is a digital wallet that allows users to exchange money, make secure\nmoney transfers and purchases online.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/JetonCash"}]},{apiName:"jpay",name:"Jpay",landscapeLogo:null,portraitLogo:null,summary:"The Jpay method.",description:"The Jpay method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/jpay"}]},{apiName:"KNET",name:"KNET",landscapeLogo:null,portraitLogo:null,summary:"The KNET method.\n",description:"The KNET method.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:null,relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/KNET"}]},{apiName:"KakaoPay",name:"KakaoPay",landscapeLogo:null,portraitLogo:null,summary:"KakaoPay is a mobile payment and digital wallet service by Kakao and based in South Korea. It enables users make mobile payments and online transactions.\n",description:"KakaoPay is a mobile payment and digital wallet service by Kakao and based in South Korea. It enables users make mobile payments and online transactions.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!1,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/KakaoPay"}]},{apiName:"Khelocard",name:"Khelocard",landscapeLogo:null,portraitLogo:null,summary:"Khelo Card is a virtual prepaid card that allows for deposits and withdrawals\nand is accepted at partnered online sites around the world.\n",description:"Khelo Card is a virtual prepaid card that allows for deposits and withdrawals\nand is accepted at partnered online sites around the world.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Khelocard"}]},{apiName:"Klarna",name:"Klarna",landscapeLogo:null,portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/Klarna.png",summary:"Klarna offers flexible payment plans that provides payment solutions for 85\nmillion customers and over 200,000 merchants across 19 markets.\n",description:"Klarna offers flexible payment plans that provides payment solutions for 85\nmillion customers and over 200,000 merchants across 19 markets.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!0,type:"Buy Now Pay later",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!0,disputes:!0,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Klarna"}]},{apiName:"LPG-online",name:"LPG Online",landscapeLogo:null,portraitLogo:null,summary:"Latam Payment Group (LPG Online) specializes in the development of\ntechnological solutions for the operation of eCommerce in the Latin American\nmarket.\n",description:"Latam Payment Group (LPG Online) specializes in the development of\ntechnological solutions for the operation of eCommerce in the Latin American\nmarket.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/LPG-online"}]},{apiName:"LPG-payment-card",name:"LPG Payment Card",landscapeLogo:null,portraitLogo:null,summary:"The LPG Payment Card method.",description:"The LPG Payment Card method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/LPG-payment-card"}]},{apiName:"Litecoin",name:"Litecoin",landscapeLogo:null,portraitLogo:null,summary:"Litecoin is a peer-to-peer cryptocurrency and open-source software project.",description:"Litecoin is a peer-to-peer cryptocurrency and open-source software project.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Litecoin"}]},{apiName:"MTS",name:"MTS",landscapeLogo:null,portraitLogo:null,summary:"MTS allows users to make payments and money transfers from their e-wallet\nthrough a smartphone or MTS website.\n",description:"MTS allows users to make payments and money transfers from their e-wallet\nthrough a smartphone or MTS website.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/MTS"}]},{apiName:"Matrix",name:"Matrix",landscapeLogo:null,portraitLogo:null,summary:"The Matrix method.",description:"The Matrix method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Matrix"}]},{apiName:"MaxiCash",name:"MaxiCash",landscapeLogo:null,portraitLogo:null,summary:"The MaxiCash method.",description:"The MaxiCash method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"subset",values:["USD","ZAR"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/MaxiCash"}]},{apiName:"Megafon",name:"Megafon",landscapeLogo:null,portraitLogo:null,summary:"Megafon can be used to pay like a normal bank card online and in person at\nphysical locations.\n",description:"Megafon can be used to pay like a normal bank card online and in person at\nphysical locations.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Megafon"}]},{apiName:"MercadoPago",name:"MercadoPago",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/MercadoPago.svg",portraitLogo:null,summary:"Mercado hosts the largest online commerce and payments ecosystem in Latin America. They are present in 18 countries including: Argentina, Brazil, Mexico, Colombia, Chile, Venezuela and Peru. [www.mercadopago.com](https://www.mercadopago.com/)\n",description:"Mercado hosts the largest online commerce and payments ecosystem in Latin America. They are present in 18 countries including: Argentina, Brazil, Mexico, Colombia, Chile, Venezuela and Peru. [www.mercadopago.com](https://www.mercadopago.com/)\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!0,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/MercadoPago"}]},{apiName:"MiFinity-eWallet",name:"MiFinity-eWallet",landscapeLogo:null,portraitLogo:null,summary:"MiFinity eWallet allows users to send money from their account directly to a\nrecipient's bank account.\n",description:"MiFinity eWallet allows users to send money from their account directly to a\nrecipient's bank account.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/MiFinity-eWallet"}]},{apiName:"miscellaneous",name:"Miscellaneous",landscapeLogo:null,portraitLogo:null,summary:"The miscellaneous method.\n",description:"The miscellaneous method.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:null,relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/miscellaneous"}]},{apiName:"MobilePay",name:"MobilePay",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/MobilePay.svg",portraitLogo:null,summary:"Fast, easy payments are handled with a simple swipe, and all that’s needed to make them is a phone number.\n",description:"Fast, easy payments are handled with a simple swipe, and all that’s needed to make them is a phone number.\n",countries:{mode:"subset",values:["DK"]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"subset",values:["DKK"]},recurringPayments:!0,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/MobilePay"}]},{apiName:"MuchBetter",name:"MuchBetter",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Muchbetter.svg",portraitLogo:null,summary:"MuchBetter is a payment application with free transfers and multiple contact\npayment devices.\n",description:"MuchBetter is a payment application with free transfers and multiple contact\npayment devices.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/MuchBetter"}]},{apiName:"Multibanco",name:"Multibanco",landscapeLogo:null,portraitLogo:null,summary:"The Multibanco method.\n",description:"The Multibanco method.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:null,relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Multibanco"}]},{apiName:"MyFatoorah",name:"MyFatoorah",landscapeLogo:null,portraitLogo:null,summary:"The MyFatoorah method.",description:"The MyFatoorah method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/MyFatoorah"}]},{apiName:"Neosurf",name:"Neosurf",landscapeLogo:null,portraitLogo:null,summary:"Neosurf vouchers make online payments possible for thoe without bank accounts\nor credit cards.\n",description:"Neosurf vouchers make online payments possible for thoe without bank accounts\nor credit cards.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Voucher",relevantBusinessModels:[],supportedCurrencies:{mode:"subset",values:["USD"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Neosurf"}]},{apiName:"Netbanking",name:"Netbanking",landscapeLogo:null,portraitLogo:null,summary:"Netbanking allows merchants to accept UPI transactions in India.",description:"Netbanking allows merchants to accept UPI transactions in India.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B"],supportedCurrencies:{mode:"subset",values:["INR"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[{description:"Customer selects Netbanking at checkout"},{description:"Customer is directed to Netbanking"}],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Netbanking"}]},{apiName:"Neteller",name:"Neteller",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Neteller.svg",portraitLogo:null,summary:"Neteller offers payments or withdrawals via bank transfer, member wires, money\ntransfers, and merchant sites.\n",description:"Neteller offers payments or withdrawals via bank transfer, member wires, money\ntransfers, and merchant sites.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Neteller"}]},{apiName:"Nordea-Solo",name:"Nordea Solo",landscapeLogo:null,portraitLogo:null,summary:"The Nordea Solo method.",description:"The Nordea Solo method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Nordea-Solo"}]},{apiName:"NordikCoin",name:"NordikCoin",landscapeLogo:null,portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/NordikCoin.svg",summary:"NordikCoin customers can buy Bitcoin in under 5 minutes.",description:"NordikCoin is a crypto currency exchange that specializes in Bitcoin.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["EUR","NOK","SEK","DKK"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/NordikCoin"}]},{apiName:"OXXO",name:"OXXO",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/OXXO.svg",portraitLogo:null,summary:"OXXO is a Mexican convenience store chain with thousands of locations across\nLatin America. OXXO enables customers to pay bills and online purchases with\ncash.\n",description:"OXXO is a Mexican convenience store chain with thousands of locations across\nLatin America. OXXO enables customers to pay bills and online purchases with\ncash.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Voucher",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"subset",values:["MXN"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/OXXO"}]},{apiName:"OchaPay",name:"OchaPay",landscapeLogo:null,portraitLogo:null,summary:"The OchaPay method.",description:"The OchaPay method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/OchaPay"}]},{apiName:"online-bank-transfer",name:"Online Bank Transfer",landscapeLogo:null,portraitLogo:null,summary:"An online bank transfer is an electronic funds transfer of money from one bank\naccount to another.\n",description:"An online bank transfer is an electronic funds transfer of money from one bank\naccount to another.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/online-bank-transfer"}]},{apiName:"Onlineueberweisen",name:"OnlineUeberweisen",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Onlineueberweisen.svg",portraitLogo:null,summary:"OnlineUeberweisen is an online banking ePayment company located in Munich,\nGermany.\n",description:"OnlineUeberweisen is an online banking ePayment company located in Munich,\nGermany.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Onlineueberweisen"}]},{apiName:"oriental-wallet",name:"Oriental Wallet",landscapeLogo:null,portraitLogo:null,summary:"The Oriental Wallet method.",description:"The Oriental Wallet method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/oriental-wallet"}]},{apiName:"P24",name:"P24",landscapeLogo:null,portraitLogo:null,summary:"Przelewy24 (P24) is a payment method in Poland that allows the transfer of funds\nbetween more than 90,000 businesses and Polish banks.\n",description:"Przelewy24 (P24) is a payment method in Poland that allows the transfer of funds\nbetween more than 90,000 businesses and Polish banks.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["PLN"]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/P24"}]},{apiName:"PIX",name:"PIX",landscapeLogo:null,portraitLogo:null,summary:"PIX is a new payment method in Brazil for instant bank transfers and is\noperated by Brazilian banks, digital accounts, and wallets.\n",description:"PIX is a new payment method in Brazil for instant bank transfers and is\noperated by Brazilian banks, digital accounts, and wallets.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/PIX"}]},{apiName:"POLi",name:"POLi",landscapeLogo:null,portraitLogo:null,summary:"The POLi method.",description:"The POLi method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/POLi"}]},{apiName:"Pagadito",name:"Pagadito",landscapeLogo:null,portraitLogo:null,summary:"The Pagadito method.",description:"The Pagadito method.",countries:{mode:"subset",values:["BZ","CR","DO","GT","HN","NI","PA","PR","SV","US"]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"subset",values:["USD","GTQ","HNL","NIO","CRC","PAB","DOP"]},recurringPayments:!0,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Pagadito"}]},{apiName:"PagoEffectivo",name:"PagoEffectivo",landscapeLogo:null,portraitLogo:null,summary:"The PagoEffectivo method.",description:"The PagoEffectivo method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/PagoEffectivo"}]},{apiName:"Pagsmile-deposit-express",name:"Pagsmile Deposit Express",landscapeLogo:null,portraitLogo:null,summary:"Pagsmile Deposit Express is a money transfer system. After an online purchase,\nthe client can pay at a bank, ATM, or via internet banking.\n",description:"Pagsmile Deposit Express is a money transfer system. After an online purchase,\nthe client can pay at a bank, ATM, or via internet banking.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Pagsmile-deposit-express"}]},{apiName:"Pagsmile-lottery",name:"Pagsmile Lottery",landscapeLogo:null,portraitLogo:null,summary:"Pagsmile Lottery offers betting services as well as banking services such as\nwithdrawals, deposits, and bank checking.\n",description:"Pagsmile Lottery offers betting services as well as banking services such as\nwithdrawals, deposits, and bank checking.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Pagsmile-lottery"}]},{apiName:"Pay4Fun",name:"Pay4Fun",landscapeLogo:null,portraitLogo:null,summary:"Pay4Fun is a prepaid e-wallet that is connected to a bank account and can be\nused for deposits and withdrawls.\n",description:"Pay4Fun is a prepaid e-wallet that is connected to a bank account and can be\nused for deposits and withdrawls.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Pay4Fun"}]},{apiName:"PayCash",name:"PayCash",landscapeLogo:null,portraitLogo:null,summary:"PayCash is an electronic payment platformfor making anonymous internet\npurchases with cash via kiosks.\n",description:"PayCash is an electronic payment platformfor making anonymous internet\npurchases with cash via kiosks.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/PayCash"}]},{apiName:"PayRedeem",name:"PayRedeem",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/PayRedeem.svg",portraitLogo:null,summary:"PayRedeem eCards can be purchased online with credit/debit card, wire transfer, cryptocurrency, and over 200 alternative payment methods.\n",description:"PayRedeem eCards can be purchased online with credit/debit card, wire transfer, cryptocurrency, and over 200 alternative payment methods.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/PayRedeem"}]},{apiName:"PayTabs",name:"PayTabs",landscapeLogo:null,portraitLogo:null,summary:"The PayTabs method.",description:"The PayTabs method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/PayTabs"}]},{apiName:"PayU",name:"PayU",landscapeLogo:null,portraitLogo:null,summary:"The PayU method.",description:"The PayU method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/PayU"}]},{apiName:"PayULatam",name:"PayULatam",landscapeLogo:null,portraitLogo:null,summary:"The PayULatam method.",description:"The PayULatam method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/PayULatam"}]},{apiName:"Payco",name:"Payco",landscapeLogo:null,portraitLogo:null,summary:"Payco is one of the most popular forms of payment in South Korea and offers your shoppers convenience and familiarity when shopping online.\n",description:"Payco is one of the most popular forms of payment in South Korea and offers your shoppers convenience and familiarity when shopping online.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!1,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Payco"}]},{apiName:"Payeer",name:"Payeer",landscapeLogo:null,portraitLogo:null,summary:"Payeer is an e-wallet designed to manage cryptocurrencies and fiat currencies\nwith a built-in payment exchange for systems such as MasterCard, VISA, or\nPaypal.\n",description:"Payeer is an e-wallet designed to manage cryptocurrencies and fiat currencies\nwith a built-in payment exchange for systems such as MasterCard, VISA, or\nPaypal.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Payeer"}]},{apiName:"PaymentAsia-crypto",name:"PaymentAsia-crypto",landscapeLogo:null,portraitLogo:null,summary:"The PaymentAsia-crypto method.",description:"The PaymentAsia-crypto method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/PaymentAsia-crypto"}]},{apiName:"payment-card",name:"Payment Card",landscapeLogo:null,portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/PaymentCard.svg",summary:"Payment cards are physical cards used for cashless payments and are issued by\nfinancial institiutions, such as banks, to a customer.\n",description:"Payment cards are physical cards used for cashless payments and are issued by\nfinancial institiutions, such as banks, to a customer.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Card",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"all",values:[]},recurringPayments:!0,refunds:!0,disputes:!0,ux:[{description:"Customer selects payment card at checkout"},{description:"Customer enters payment card PAN"},{description:"customer recieves payment confirmation"}],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/payment-card"}]},{apiName:"Paymero-QR",name:"Paymero-QR",landscapeLogo:null,portraitLogo:null,summary:"Paymero-QR helps online merchants to accept alternative methods such as\ncontactless payments through a QR code.\n",description:"Paymero-QR helps online merchants to accept alternative methods such as\ncontactless payments through a QR code.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Paymero-QR"}]},{apiName:"Paymero",name:"Paymero",landscapeLogo:null,portraitLogo:null,summary:"Paymero is an instant bank transfer that allows customers to make UnionPay\nbank transfers to merchants.\n",description:"Paymero is an instant bank transfer that allows customers to make UnionPay\nbank transfers to merchants.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:[],supportedCurrencies:{mode:"subset",values:["USD","THB"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Paymero"}]},{apiName:"paypal",name:"Paypal",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Paypal.svg",portraitLogo:"https://app.rebilly.com/static/payment-methods/portrait/Paypal.svg",summary:"Paypal is currently one of the most popular online payment processors, with\nover 300 million account holders.\n",description:"Paypal is currently one of the most popular online payment processors, with\nover 300 million account holders.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["USD"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/paypal"}]},{apiName:"Paysafecard",name:"Paysafecard",landscapeLogo:null,portraitLogo:null,summary:"Paysafecard is a closed loop gift card that allows users to pay safely online.",description:"Paysafecard is a closed loop gift card that allows users to pay safely online.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Voucher",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Paysafecard"}]},{apiName:"Paysafecash",name:"Paysafecash",landscapeLogo:null,portraitLogo:null,summary:"Paysafecash is an online payment method that allows users to make secure digital payments using cash.",description:"Paysafecash is an online payment method that allows users to make secure digital payments using cash.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Voucher",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Paysafecash"}]},{apiName:"Perfect-money",name:"Perfect Money",landscapeLogo:null,portraitLogo:null,summary:"Perfect oney allows users to make instant payments and money transfers\nsecurely online through an online portal.\n",description:"Perfect oney allows users to make instant payments and money transfers\nsecurely online through an online portal.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Perfect-money"}]},{apiName:"phone",name:"Phone",landscapeLogo:null,portraitLogo:null,summary:"A phone is a telecommunications device that allows users to conduct a\nconversation.\n",description:"A phone is a telecommunications device that allows users to conduct a\nconversation.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/phone"}]},{apiName:"PhonePe",name:"PhonePe",landscapeLogo:null,portraitLogo:null,summary:"PhonePe is a digital wallet and online payments application that allows users\nto make instant money transfers with UPI.\n",description:"PhonePe is a digital wallet and online payments application that allows users\nto make instant money transfers with UPI.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/PhonePe"}]},{apiName:"Piastrix",name:"Piastrix",landscapeLogo:null,portraitLogo:null,summary:"Piastrix is a Russian payment method that allows merchants to accept credit\ncard purchases via e-wallet.\n",description:"Piastrix is a Russian payment method that allows merchants to accept credit\ncard purchases via e-wallet.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Piastrix"}]},{apiName:"PinPay",name:"PinPay",landscapeLogo:null,portraitLogo:null,summary:"The PinPay method.",description:"The PinPay method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/PinPay"}]},{apiName:"QIWI",name:"QIWI",landscapeLogo:null,portraitLogo:null,summary:"QIWI is an e-wallet that allows users to transfer money, receive payments, and\nhas over 149,000 kiosks and terminals.\n",description:"QIWI is an e-wallet that allows users to transfer money, receive payments, and\nhas over 149,000 kiosks and terminals.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/QIWI"}]},{apiName:"QPay",name:"QPay",landscapeLogo:null,portraitLogo:null,summary:"The QPay method.\n",description:"The QPay method.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:null,relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/QPay"}]},{apiName:"QQPay",name:"QQPay",landscapeLogo:null,portraitLogo:null,summary:"QQPay is an e-wallet that allows users to pay for online services quickly an\nsecurely.\n",description:"QQPay is an e-wallet that allows users to pay for online services quickly an\nsecurely.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/QQPay"}]},{apiName:"rapyd-checkout",name:"Rapyd Checkout",landscapeLogo:null,portraitLogo:null,summary:"Rapyd Checkout is a platform that allows businesses to accept payment in the\nform of instant UPI payments from bank accounts, e-wallets, and credit cards.\n",description:"Rapyd Checkout is a platform that allows businesses to accept payment in the\nform of instant UPI payments from bank accounts, e-wallets, and credit cards.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/rapyd-checkout"}]},{apiName:"Resurs",name:"Resurs",landscapeLogo:null,portraitLogo:null,summary:"The Resurs method.",description:"The Resurs method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Resurs"}]},{apiName:"Ripple",name:"Ripple",landscapeLogo:null,portraitLogo:null,summary:"Ripple is a blockchain-based digital payment network and protocol that uses\nthe XRP Ledger blockchain and XRP. Ripple makes money by providing cross-border\npayment and crypto liquidity services to businesses.\n",description:"Ripple is a blockchain-based digital payment network and protocol that uses\nthe XRP Ledger blockchain and XRP. Ripple makes money by providing cross-border\npayment and crypto liquidity services to businesses.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Cryptocurrency",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Ripple"}]},{apiName:"SEPA",name:"SEPA",landscapeLogo:null,portraitLogo:null,summary:"SEPA simplifies payments within the European Union and facilitates the direct\ndebiting of every Euro-denominated bank account.\n",description:"SEPA simplifies payments within the European Union and facilitates the direct\ndebiting of every Euro-denominated bank account.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["EUR"]},recurringPayments:!0,refunds:!0,disputes:!0,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/SEPA"}]},{apiName:"SMSVoucher",name:"SMSVoucher",landscapeLogo:null,portraitLogo:null,summary:"SMS Voucher is a mobile voucher that can be used to transfer funds via a\nmobile phone.\n",description:"SMS Voucher is a mobile voucher that can be used to transfer funds via a\nmobile phone.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/SMSVoucher"}]},{apiName:"SPEI",name:"SPEI",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/spei.svg",portraitLogo:null,summary:"SPEI allows its customers to send and receive interbank electronic\ntransfers and obtain real-time payment confirmation in seconds.\n",description:"SPEI allows its customers to send and receive interbank electronic\ntransfers and obtain real-time payment confirmation in seconds.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["MXN"]},recurringPayments:!0,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/SPEI"}]},{apiName:"SafetyPay",name:"SafetyPay",landscapeLogo:null,portraitLogo:null,summary:"SafetyPay operates the largest network of banks and cash collection points in Latin America, the result of 10+ years effort, with presence in 16 countries consolidated with 380 bank partners and 180,000 collection points.\n",description:"SafetyPay operates the largest network of banks and cash collection points in Latin America, the result of 10+ years effort, with presence in 16 countries consolidated with 380 bank partners and 180,000 collection points.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/SafetyPay"}]},{apiName:"Samsung Pay",name:"Samsung Pay",landscapeLogo:null,portraitLogo:null,summary:"Samsung Pay is a mobile payment and digital wallet service by Samsung Electronics that enables users to make payments using\ncompatible phones and other Samsung-produced devices.\n",description:"Samsung Pay is a mobile payment and digital wallet service by Samsung Electronics that enables users to make payments using\ncompatible phones and other Samsung-produced devices.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!1,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Samsung%20Pay"}]},{apiName:"Siirto",name:"Siirto",landscapeLogo:null,portraitLogo:null,summary:"Siirto allows users to transfer money easily to other Siirto users by using\ntheir phone numbers.\n",description:"Siirto allows users to transfer money easily to other Siirto users by using\ntheir phone numbers.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Siirto"}]},{apiName:"Skrill",name:"Skrill",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Skrill.svg",portraitLogo:null,summary:"Skrill is a digital wallet for money transfers and online payments that offers\na safe way to pay across different platforms.\n",description:"Skrill is a digital wallet for money transfers and online payments that offers\na safe way to pay across different platforms.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Skrill"}]},{apiName:"Skrill Rapid Transfer",name:"Skrill Rapid Transfer",landscapeLogo:null,portraitLogo:null,summary:"Skrill Rapid Transfer allows users to deposit money into their Skrill wallet\nor to pay online directly.\n",description:"Skrill Rapid Transfer allows users to deposit money into their Skrill wallet\nor to pay online directly.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Skrill%20Rapid%20Transfer"}]},{apiName:"Sofort",name:"Sofort",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Sofort.svg",portraitLogo:null,summary:"Sofort is a payment method acquired by Klarna that redirects customers to\ninitiate a transfer with their bank.\n",description:"Sofort is a payment method acquired by Klarna that redirects customers to\ninitiate a transfer with their bank.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["EUR"]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Sofort"}]},{apiName:"SparkPay",name:"SparkPay",landscapeLogo:null,portraitLogo:null,summary:"The SparkPay method.",description:"The SparkPay method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/SparkPay"}]},{apiName:"swift-dbt",name:"SWIFT Debit",landscapeLogo:null,portraitLogo:null,summary:"The SWIFT Debit method.",description:"The SWIFT Debit method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/swift-dbt"}]},{apiName:"TWINT",name:"TWINT",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/TWINT.svg",portraitLogo:null,summary:"TWINT allows customers to make convenient and secure payments via a smartpone.",description:"TWINT allows customers to make convenient and secure payments via a smartpone.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:[],supportedCurrencies:{mode:"subset",values:["CHF"]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/TWINT"}]},{apiName:"Tabby",name:"Tabby",landscapeLogo:null,portraitLogo:null,summary:"Tabby is MENA's biggest Buy Now Pay Later, letting merchants grow their business by offering their shoppers flexible payments.\n",description:"Tabby is MENA's biggest Buy Now Pay Later, letting merchants grow their business by offering their shoppers flexible payments.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Credit card",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["USD","AED","SAR","KWD","BHD","QAR"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Tabby"}]},{apiName:"Tele2",name:"Tele2",landscapeLogo:null,portraitLogo:null,summary:"Tele2 is an intergrated e-wallet that allows users to instantly receive\ndigital payments frmi TalkBank.\n",description:"Tele2 is an intergrated e-wallet that allows users to instantly receive\ndigital payments frmi TalkBank.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Tele2"}]},{apiName:"Telr",name:"Telr",landscapeLogo:null,portraitLogo:null,summary:"The Telr method.",description:"The Telr method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Telr"}]},{apiName:"Terminaly-RF",name:"Terminaly RF",landscapeLogo:null,portraitLogo:null,summary:"The Terminaly RF method.",description:"The Terminaly RF method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Terminaly-RF"}]},{apiName:"Tether",name:"Tether",landscapeLogo:null,portraitLogo:null,summary:"Tether is a cryptocurrency with tokens issued by Tether Limited.",description:"Tether is a cryptocurrency with tokens issued by Tether Limited.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Tether"}]},{apiName:"ToditoCash-card",name:"ToditoCash Card",landscapeLogo:null,portraitLogo:null,summary:"ToditoCash Card is a prepaid card service used in Mexico that allows customers\nto use the card for purchasing goods and services online.\n",description:"ToditoCash Card is a prepaid card service used in Mexico that allows customers\nto use the card for purchasing goods and services online.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/ToditoCash-card"}]},{apiName:"Trustly",name:"Trustly",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Trustly.svg",portraitLogo:null,summary:"Trustly an open banking payment method that allows customers to shop and pay\nfrom their online bank account, without the use of a card or app.\n",description:"Trustly an open banking payment method that allows customers to shop and pay\nfrom their online bank account, without the use of a card or app.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Trustly"}]},{apiName:"Tupay",name:"Tupay",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Tupay.svg",portraitLogo:null,summary:"Tupay is a one-stop-shop payment platform. It enables you to make everyday purchases in an easy, convenient, and secure manner through your favorite wallets.\nPay seamlessly, in-app, from anywhere your money is. Whether it is mobile money, a card, or bank without the need to transfer to various wallets.\n",description:"Tupay is a one-stop-shop payment platform. It enables you to make everyday purchases in an easy, convenient, and secure manner through your favorite wallets.\nPay seamlessly, in-app, from anywhere your money is. Whether it is mobile money, a card, or bank without the need to transfer to various wallets.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!0,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Tupay"}]},{apiName:"UPI",name:"UPI",landscapeLogo:null,portraitLogo:null,summary:"Unified Payments Interface (UPI) is a payment system that powers multiple bank\naccounts into a single mobile application.\n",description:"Unified Payments Interface (UPI) is a payment system that powers multiple bank\naccounts into a single mobile application.\n",countries:{mode:"subset",values:["IN"]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/UPI"}]},{apiName:"UPayCard",name:"UPayCard",landscapeLogo:null,portraitLogo:null,summary:"The UPayCard method.",description:"The UPayCard method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/UPayCard"}]},{apiName:"USD-coin",name:"USD coin",landscapeLogo:null,portraitLogo:null,summary:"The USD coin (USDC ERC20) method.\n",description:"The USD coin (USDC ERC20) method.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:null,relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/USD-coin"}]},{apiName:"UniCrypt",name:"UniCrypt",landscapeLogo:null,portraitLogo:null,summary:"The UniCrypt method.",description:"The UniCrypt method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/UniCrypt"}]},{apiName:"VCreditos",name:"VCreditos",landscapeLogo:null,portraitLogo:null,summary:"VCreditos is an e-wallet for online transfers and withdrawals. The customer\ncan acquire exclusive advantages, points, and benefits.\n",description:"VCreditos is an e-wallet for online transfers and withdrawals. The customer\ncan acquire exclusive advantages, points, and benefits.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/VCreditos"}]},{apiName:"VegaWallet",name:"VegaWallet",landscapeLogo:null,portraitLogo:null,summary:"VegaWallet is an e-wallet that allows users to purchase, receive, send, and convert funds (points) between users and merchants.\n",description:"VegaWallet is an e-wallet that allows users to purchase, receive, send, and convert funds (points) between users and merchants.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/VegaWallet"}]},{apiName:"VenusPoint",name:"VenusPoint",landscapeLogo:null,portraitLogo:null,summary:"The VenusPoint method.",description:"The VenusPoint method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/VenusPoint"}]},{apiName:"voucher",name:"Voucher",landscapeLogo:null,portraitLogo:null,summary:"The voucher method.\n",description:"The voucher method.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:null,relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/voucher"}]},{apiName:"Wallet88",name:"Wallet88",landscapeLogo:null,portraitLogo:null,summary:"Wallet88 payment method.",description:"Wallet88 payment method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"E-Wallet",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Wallet88"}]},{apiName:"WeChat Pay",name:"WeChat Pay",landscapeLogo:null,portraitLogo:null,summary:"WeChat Pay is an e-Wallet within the Chinese social media app WeChat.",description:"WeChat Pay is an e-Wallet within the Chinese social media app WeChat.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/WeChat%20Pay"}]},{apiName:"Webmoney",name:"Webmoney",landscapeLogo:"https://app.rebilly.com/static/payment-methods/landscape/Webmoney.svg",portraitLogo:null,summary:"The Webmoney method.",description:"The Webmoney method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Webmoney"}]},{apiName:"Webpay",name:"Webpay",landscapeLogo:null,portraitLogo:null,summary:"The Webpay method.",description:"The Webpay method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Webpay"}]},{apiName:"Webpay Card",name:"Webpay Card",landscapeLogo:null,portraitLogo:null,summary:"Webpay Card allows consumers in Chile to securely use their debit and credit\ncards online.\n",description:"Webpay Card allows consumers in Chile to securely use their debit and credit\ncards online.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Webpay%20Card"}]},{apiName:"XPay-P2P",name:"XPay-P2P",landscapeLogo:null,portraitLogo:null,summary:"XPAY-P2P is a payment service provider with online merchant services & payment\ngateway integration for retailers.\n",description:"XPAY-P2P is a payment service provider with online merchant services & payment\ngateway integration for retailers.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/XPay-P2P"}]},{apiName:"XPay-QR",name:"XPay-QR",landscapeLogo:null,portraitLogo:null,summary:"XPay-QR is a contactless payment method where payments are completed by\nscannign a QR code from a mobile app.\n",description:"XPay-QR is a contactless payment method where payments are completed by\nscannign a QR code from a mobile app.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/XPay-QR"}]},{apiName:"Yandex-money",name:"Yandex Money",landscapeLogo:null,portraitLogo:null,summary:"Yandex Money serves both merchants and individual users as the largest\nelectronic payment service in Russia.\n",description:"Yandex Money serves both merchants and individual users as the largest\nelectronic payment service in Russia.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Yandex-money"}]},{apiName:"Zimpler",name:"Zimpler",landscapeLogo:null,portraitLogo:null,summary:"The Zimpler method.",description:"The Zimpler method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Zimpler"}]},{apiName:"Zip",name:"Zip",landscapeLogo:null,portraitLogo:null,summary:"Zip offers one of the leading buy now, pay later services in Australia through their Zip Pay and Zip Money products.\n",description:"Zip offers one of the leading buy now, pay later services in Australia through their Zip Pay and Zip Money products.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Zip"}]},{apiName:"Zotapay",name:"Zotapay",landscapeLogo:null,portraitLogo:null,summary:"Zotapay is a global payment service provider that facilitates online payment\nprocessing solutions for emerging markets worldwide.\n",description:"Zotapay is a global payment service provider that facilitates online payment\nprocessing solutions for emerging markets worldwide.\n",countries:{mode:"all",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Credit card",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!0,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/Zotapay"}]},{apiName:"ePay.bg",name:"ePay.bg",landscapeLogo:null,portraitLogo:null,summary:"ePay.bg is a free mobile application allowing customers to pay and receive\nmoney quickly and safely.\n",description:"ePay.bg is a free mobile application allowing customers to pay and receive\nmoney quickly and safely.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/ePay.bg"}]},{apiName:"ePayCard",name:"ePayCard",landscapeLogo:null,portraitLogo:null,summary:"ePay is a free mobile application that provides a quick and safe way to pay and receive money.\n",description:"ePay is a free mobile application that provides a quick and safe way to pay and receive money.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Wallet",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/ePayCard"}]},{apiName:"ezyEFT",name:"ezyEFT",landscapeLogo:null,portraitLogo:null,summary:"ezyEFT is an easy to use software application that offers customers the option\nof paying by direct debit.\n",description:"ezyEFT is an easy to use software application that offers customers the option\nof paying by direct debit.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Bank transfer",relevantBusinessModels:["B2B","B2C"],supportedCurrencies:{mode:"subset",values:["CAD"]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/ezyEFT"}]},{apiName:"iCashOne Voucher",name:"iCashOne Voucher",landscapeLogo:null,portraitLogo:null,summary:"Prepaid vouchers that can be used for online payments without linking to a bank account.\n",description:"Prepaid vouchers that can be used for online payments without linking to a bank account.\n",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"Voucher",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/iCashOne%20Voucher"}]},{apiName:"loonie",name:"loonie",landscapeLogo:null,portraitLogo:null,summary:"The loonie method.",description:"The loonie method.",countries:{mode:"unknown",values:[]},storefrontEnabled:!0,isSingleUse:!1,type:"",relevantBusinessModels:[],supportedCurrencies:{mode:"unknown",values:[]},recurringPayments:!1,refunds:!1,disputes:!1,ux:[],_links:[{rel:"self",href:"https://api.rebilly.com/payment-methods/loonie"}]}];class ko extends pt{get logo(){return this.landscapeLogo||this.portraitLogo}}const xo=class{constructor({name:e="",expirationTime:t="",displayName:n="",country:r="",merchantName:a="",merchantOrigin:s="",paypalMerchantId:o="",billingAgreementToken:i="",paypalClientId:l="",linkToken:u="",clientToken:c="",sessionId:d=""}={}){this.name=e,this.expirationTime=t,this.displayName=n,this.country=r,this.merchantName=a,this.merchantOrigin=s,this.paypalMerchantId=o,this.billingAgreementToken=i,this.paypalClientId=l,this.linkToken=u,this.clientToken=c,this.sessionId=d}};xo.FeatureName={paypalBillingAgreement:"PayPal billing agreement",googlePay:"Google Pay",applePay:"Apple Pay",klarna:"Klarna"};let So=xo;class Po{constructor({index:e=null,method:t="",feature:n=null,brands:r=[],filters:a=[],metadata:s=null}={}){this.index=e,this.method=t,this.feature=n?new So(n):null,this.brands=r,this.filters=a,this.metadata=s?new ko(s):null}get optionsExpressPaymentInstrumentsKey(){var e;switch(null==(e=this.feature)?void 0:e.name){case So.FeatureName.paypalBillingAgreement:return"paypal";case So.FeatureName.googlePay:return"googlePay";case So.FeatureName.applePay:return"applePay";default:return}}}function Co(e){const t=[...wo],n=["Google Pay","Apple Pay","paypal","Samsung Pay"],r=["Samsung Pay"],a=["echeck","Khelocard","Apple Pay","China UnionPay","Google Pay","KakaoPay","Payco","Samsung Pay"];return e.filter(e=>{var t;const n="paypal"===e.method&&!e.feature,s="ach"===e.method&&e.feature,o=a.includes(e.method),i=r.includes(null==(t=e.feature)?void 0:t.name),l="Klarna"===e.method&&!e.feature;return!(n||s||o||i||l)}).map((e,r)=>{const a=t.find(t=>t.apiName===e.method)||{};return a.isExpressMethod=(({method:e,feature:t})=>n.includes(e)||n.includes(null==t?void 0:t.name))(e),new Po({index:r,metadata:a,...e})})}async function Bo(){return Wa(async()=>{var e,t,n,r,a,s,o,i,l;if(!Ge.data.riskMetadata){const{riskMetadata:e}=await po();Ge.data.riskMetadata=e}const u={riskMetadata:Ge.data.riskMetadata};if(u.websiteId=(null==(e=Ge.options)?void 0:e.websiteId)||null,(null==(t=Ge.options)?void 0:t.items)&&(u.items=Ka(Ge.options.items)),((null==(n=Ge.options)?void 0:n.money)||(null==(r=Ge.data)?void 0:r.invoice)||(null==(a=Ge.data)?void 0:a.transaction))&&(null==(s=Ge.data)?void 0:s.amountAndCurrency)){const{amount:e,currency:t}=Ge.data.amountAndCurrency;u.amount=e,u.currency=t}(null==(i=null==(o=Ge.data)?void 0:o.account)?void 0:i.address)&&(u.billingAddress=Ge.data.account.address),(null==(l=Ge.data)?void 0:l.deposit)&&(u.amount=Ge.data.deposit.amount,u.currency=Ge.data.deposit.currency);const{fields:c}=await Ge.storefront.purchase.readyToPay({data:u});return Co(Object.values(c))})}function Ao(e){const t=[...wo],n=["Google Pay","Apple Pay","paypal","Samsung Pay"],r=["Samsung Pay"],a=["echeck","Khelocard","Klarna"];return e.filter(e=>{var t;const n="paypal"===e.method&&!e.feature,s="ach"===e.method&&e.feature,o=a.includes(e.method),i=r.includes(null==(t=e.feature)?void 0:t.name);return!(n||s||o||i)}).map((e,r)=>{const a=t.find(t=>t.apiName===e.method)||{};return a.isExpressMethod=(({method:e,feature:t})=>n.includes(e)||n.includes(null==t?void 0:t.name))(e),new Po({index:r,metadata:a,...e})}).filter(({metadata:e})=>e.storefrontEnabled)}async function Lo(){return Wa(async()=>{var e,t,n;if(Xe(Ge.options),function(e){if(null==e)throw new Error("Could not access data instance")}(Ge.data),Ve(Ge.storefront),!(null==(e=null==Ge?void 0:Ge.data)?void 0:e.riskMetadata)){const{riskMetadata:e}=await po();Ge.data.riskMetadata=e}const r={riskMetadata:Ge.data.riskMetadata,websiteId:Ge.options.websiteId||null};(null==(n=null==(t=null==Ge?void 0:Ge.data)?void 0:t.account)?void 0:n.address)&&(r.billingAddress=Ge.data.account.address),Ge.data.payout&&(r.amount=Ge.data.payout.amount,r.currency=Ge.data.payout.currency);const{fields:a}=await Ge.storefront.readyToPayout.readyToPayout({data:r});return Ao(Object.values(a))})}async function Eo({data:e}){return Wa(async()=>{var t;Ve(Ge.storefront),Xe(Ge.options),Ge.storefront.setSessionToken(Ge.options.jwt);const{fields:n}=await Ge.storefront.invoices.get({...e,expand:"items.*.product"});return{products:null==(t=n.items)?void 0:t.filter(e=>e._embedded).map(e=>{var t;return new fo(null==(t=e._embedded)?void 0:t.product)}),invoice:new ft(n)}})}const Io=class e extends pt{constructor({invoiceIds:e=[],...t}){super(t),this.invoiceIds=e||[]}get invoiceId(){return this.invoiceIds[0]||null}get hasInvoice(){return Boolean(this.invoiceId)}get transactionIsCompleted(){return this.status===e.Status.completed}};Io.Status={completed:"completed"};let To=Io;async function Mo({data:e=null}){return Wa(async()=>{if(Ve(Ge.storefront),Xe(Ge.options),null==e)throw new Error("Invalid payload.");Ge.storefront.setSessionToken(Ge.options.jwt);const{fields:t}=await Ge.storefront.transactions.get(e);return new To(t)})}class $o{constructor({firstName:e=null,lastName:t=null,organization:n=null,address:r=null,address2:a=null,city:s=null,region:o=null,country:i=null,postalCode:l=null,emails:u=[],phoneNumbers:c=[]}={}){this.firstName=e,this.lastName=t,this.organization=n,this.address=r,this.address2=a,this.city=s,this.region=o,this.country=i,this.postalCode=l,this.emails=u,this.phoneNumbers=c}}class Ro extends pt{constructor({primaryAddress:e={},...t}={}){super(t),this.address=new $o({...e})}}class Fo extends pt{}async function Ho(){return Wa(async()=>{var e;Ve(Ge.storefront),Xe(Ge.options),Ge.storefront.setSessionToken(Ge.options.jwt);const{fields:t}=await Ge.storefront.account.get({expand:"website"});return{website:new Fo(null==(e=t._embedded)?void 0:e.website),account:new Ro(t)}})}async function No(){return Wa(async()=>{Ve(Ge.storefront);const{items:e}=await Ge.storefront.paymentInstruments.getAll({filter:"status:active,inactive,verification-needed"});return e.map(({fields:e})=>e)})}class Oo extends pt{constructor(e){super(e),this.amount=Array.isArray(e.amounts)?e.amounts[0]:e.amount,e.buttons?this.buttons=e.buttons:e.amounts?this.buttons=[...e.amounts]:this.buttons=[],this.editable="boolean"==typeof e.editable?e.editable:Boolean(e.customAmount),this.customAmount=Ne({minimum:1,maximum:1e12,multipleOf:1},e.customAmount||{})}}async function Uo({data:e=null}){return Wa(async()=>{if(Ve(Ge.storefront),Xe(Ge.options),null==e)throw new Error("Invalid payload.");Ge.storefront.setSessionToken(Ge.options.jwt);const{fields:t}=await Ge.storefront.depositRequests.get(e);return new Oo(t)})}const _o=class e extends pt{constructor(e={}){super(e)}get isPending(){return this.status===e.Status.pending}};_o.Status={pending:"pending",instrumentSelected:"instrument-selected",partiallyFulfilled:"partially-fulfilled",fulfilled:"fulfilled",canceled:"canceled"};let jo=_o;async function qo(e){return Wa(async()=>{Ve(Ge.storefront),Xe(Ge.options);const{fields:t}=await Ge.storefront.payoutRequests.get(e);return new jo(t)})}function Do(e){return null!=e&&"depositRequestId"in e&&"string"==typeof e.depositRequestId}const Wo=["utm_source","utm_medium","utm_campaign","utm_term","utm_content","affiliate","subAffiliate","clickId","salesAgent"],zo=/utm_/g,Vo=()=>{const{href:e,origin:t,pathname:n,search:r}=window.location,a={path:e.length<=255?e:`${t}${n}`};return r.replace("?","").split("&").map(e=>e.split("=")).filter(e=>{const[t]=e;return Wo.indexOf(t)>-1}).reduce((e,t)=>{const[n,r=null]=t,a=n.replace(zo,"");return a&&(e[a]=null!==r?decodeURIComponent(r):null),e},a)};class Xo{constructor({...e}={}){var t;Object.entries({...Ge.data||{},...e}).forEach(([e,t])=>{this[e]=t}),this.money=(null==(t=Ge.options)?void 0:t.money)||null,this.couponIds=[],this.addons=[],this.acceptBumpOffer=!1}get amountAndCurrency(){let e,t,n;this.previewPurchase?(e=this.previewPurchase.currency,t=this.previewPurchase.total):this.invoice?(e=this.invoice.currency,t=this.invoice.amount,n=this.invoice.amountDue):this.transaction?(e=this.transaction.currency,t=this.transaction.amount):this.money&&(e=this.money.currency,t=this.money.amount);const r={amount:t,currency:e};return n&&(r.amountDue=n),r}get isPayment(){return Boolean(this.invoice||this.transaction||this.money)}get isDepositTransaction(){var e;return Boolean(null==(e=this.transaction)?void 0:e.depositRequestId)}get isInvoice(){return Boolean(this.invoice)}get isPurchase(){return Boolean(this.previewPurchase)}get hasAmountDue(){return Boolean(this.amountAndCurrency.amountDue&&this.amountAndCurrency.amountDue!==this.amountAndCurrency.amount)}get summaryItems(){var e,t;const{shippingAmount:n=null,subtotalAmount:r=null,taxAmount:a=null}=this.previewPurchase||this.invoice||{};return{discountsAmount:(null==(e=this.previewPurchase)?void 0:e.discountsAmount)??(null==(t=this.invoice)?void 0:t.discountAmount)??null,shippingAmount:n,subtotalAmount:r,taxAmount:a}}get summaryLineItems(){let e=[];return this.invoice?({items:e=[]}=this.invoice):({lineItems:e=[]}=this.previewPurchase||{}),e}get isShippingRequired(){return(this.products||[]).some(e=>e.requiresShipping)}get hasPurchaseData(){var e,t;return Boolean(this.isPayment||this.inPurchase||(null==(e=Ge.options)?void 0:e.deposit)||(null==(t=Ge.options)?void 0:t.payout))}toPostmatesModel(){return JSON.parse(JSON.stringify({...this,hasPurchaseData:this.hasPurchaseData,amountAndCurrency:this.amountAndCurrency,isPayment:this.isPayment,isInvoice:this.isInvoice,isPurchase:this.isPurchase,isDepositTransaction:this.isDepositTransaction,hasAmountDue:this.hasAmountDue,summaryItems:this.summaryItems,summaryLineItems:this.summaryLineItems,isShippingRequired:this.isShippingRequired,leadSource:Vo()}))}}async function Go({riskMetadata:e=null,fetchInvoiceAndProducts:t=Eo,fetchTransaction:n=Mo,fetchAccountAndWebsite:r=Ho,fetchInstruments:a=No,fetchDepositRequest:s=Uo,fetchPayoutRequest:o=qo}={}){var i,l,u,c,d,p,m,f,y,h,g,b,v,w,k,x,S,P,C,B,A;try{if(Ge.data=new Xo,Ge.storefront&&(null==(i=Ge.options)?void 0:i.jwt)&&Ge.storefront.setSessionToken(Ge.options.jwt),e)Ge.data.riskMetadata=e;else{const{riskMetadata:e}=await po();Ge.data.riskMetadata=e}let L;(null==(l=Ge.options)?void 0:l.deposit)&&(Do(Ge.options.deposit)?Ge.data.deposit=await s({data:{id:Ge.options.deposit.depositRequestId}}):Ge.data.deposit=new Oo(Ge.options.deposit)),(null==(u=Ge.options)?void 0:u.payout)&&(Ge.data.payout=await o({id:Ge.options.payout.payoutRequestId})),(null==(c=Ge.options)?void 0:c.transactionId)&&(Ge.data.transaction=await n({data:{id:Ge.options.transactionId}}));const E=(null==(d=Ge.options)?void 0:d.invoiceId)||(null==(m=null==(p=Ge.data)?void 0:p.transaction)?void 0:m.invoiceId);if(E){const{invoice:e,products:n}=await t({data:{id:E}});L=Promise.resolve(n),Ge.data.invoice=e}const I=[null==(y=null==(f=Ge.options)?void 0:f.paymentInstruments)?void 0:y.allowDeactivate,null==(g=null==(h=Ge.options)?void 0:h.paymentInstruments)?void 0:g.allowUpdate,null==(v=null==(b=Ge.options)?void 0:b.paymentInstruments)?void 0:v.allowMakeDefault].some(e=>e);let T=Promise.resolve(null),M=Promise.resolve(null),$=Promise.resolve(),R=null;(null==(w=Ge.options)?void 0:w.jwt)?($=r().then(({account:e,website:t})=>{if(null==Ge.data)throw new Error("Invalid data instance");Ge.data.account=e,Ge.data.website=t}),(null==(k=Ge.options)?void 0:k.payout)?M=$.then(()=>Lo()):(Ge.data.money||Ge.data.invoice||Ge.data.transaction||Ge.data.payout||Ge.data.deposit)&&(T=$.then(()=>Bo())),R=a()):(null==(x=Ge.options)?void 0:x.payout)?M=Lo():T=Bo();const F=(null==(S=Ge.options)?void 0:S.items)?Ya():null;(null==(P=Ge.options)?void 0:P.jwt)||(L=async function(){return Wa(async()=>{var e,t,n,r;let a;a=(null==(e=Ge.data)?void 0:e.summaryLineItems)&&Ge.data.summaryLineItems.length>0?Ge.data.summaryLineItems:(null==(t=Ge.options)?void 0:t.items)??[];const s={filter:"",expand:"product"};if(a.length){let e=a.map(e=>e.planId);(null==(n=Ge.options)?void 0:n.addons)&&(e=e.concat(Ge.options.addons.map(e=>e.planId))),(null==(r=Ge.options)?void 0:r.bumpOffer)&&(e=e.concat(Ge.options.bumpOffer.map(e=>e.planId))),s.filter=`id:${Array.from(new Set(e)).join(",")}`}if(s.filter.length)try{Ve(Ge.storefront);const{items:e}=await Ge.storefront.plans.getAll(s),t=[];return e.map(({fields:e})=>{var t;return new fo(null==(t=e._embedded)?void 0:t.product)}).forEach(e=>{t.every(t=>t.id!==e.id)&&t.push(e)}),t}catch(o){}return[]})}());let H=new Promise(e=>{e([])});((null==(C=Ge.options)?void 0:C.addons)||(null==(B=Ge.options)?void 0:B.bumpOffer))&&(H=async function(){return Wa(async()=>{var e,t;let n=[];if((null==(e=Ge.options)?void 0:e.addons)&&(n=n.concat(Ge.options.addons.map(e=>e.planId))),(null==(t=Ge.options)?void 0:t.bumpOffer)&&(n=n.concat(Ge.options.bumpOffer.map(e=>e.planId))),n.length>0){Ve(Ge.storefront);const{items:e}=await Ge.storefront.plans.getAll({filter:`id:${n.join(",")}`});return e.map(({fields:e})=>new vo(e).toPayload())}return[]})}());let[N,O,U,_,j,q]=await Promise.all([M,T,F,L,H,R]);if(I&&q&&!O&&!(null==(A=Ge.options)?void 0:A.payout)){const e=new Set;q.forEach(t=>{e.add(t.method)}),O=Co(Array.from(e).map(e=>({method:e})))}return new Xo({readyToPayout:N,readyToPay:O,previewPurchase:U,products:_,plans:j,availableInstruments:q,isManageInstruments:I})}catch(L){console.error(L)}return new Xo({})}function Zo({state:e,id:t}){const{Framepay:n}=window,r=e.form.querySelector(`.rebilly-instruments-${t}-method`);return function(){if(!r.children.length){const r={"google-pay":"googlePay","pay-pal-billing-agreement":"paypal","apple-pay":"applePay"},a=e.form.querySelector(`.rebilly-instruments-${t}-method`);r[t]?(n[r[t]].mount(a),"apple-pay"===t&&function(){const t=e.form.querySelector("#rebilly-apple-pay-button"),{applePayDisplayOptions:{buttonHeight:n}}=e.options.digitalWallet.applePay,r={margin:"0px",width:"100%","--apple-pay-button-height":n};Object.entries(r).forEach(([e,n])=>{t.style.setProperty(e,n)})}()):console.warn(`method '${t}' is not supported`)}}}const Ko=e=>{var t,n;return{METHOD_ID:je((null==(t=e.feature)?void 0:t.name)||e.method),METHOD_TYPE:_e((null==(n=e.feature)?void 0:n.name)||e.method).replace("-","")}};async function Jo({methods:e,container:t}){const n=e.map(e=>{const{METHOD_ID:t}=Ko(e);return t}),{Framepay:r}=window;(null==r?void 0:r.initialized)||await(null==r?void 0:r.initialize(function({methodIds:e}={}){var t,n;const{options:r,data:a}=Ge,s={style:r.themeFramepay,locale:(null==r?void 0:r.locale)||"auto",organizationId:r.organizationId,websiteId:r.websiteId,methods:r.payout?a.readyToPayout:a.readyToPay};return e.includes("pay-pal-billing-agreement")&&(s.transactionData=Ne("object"==typeof s.transactionData?s.transactionData:{},a.amountAndCurrency),s.paypal=r.paymentInstruments.paypal),e.includes("google-pay")&&(s.transactionData=Ne("object"==typeof s.transactionData?s.transactionData:{},null==(t=r.digitalWallet.googlePay)?void 0:t.transactionData),s.googlePay=r.digitalWallet.googlePay.googlePayDisplayOptions),e.includes("apple-pay")&&(s.transactionData=Ne("object"==typeof s.transactionData?s.transactionData:{},null==(n=r.digitalWallet.applePay)?void 0:n.transactionData),s.applePay=r.digitalWallet.applePay.applePayDisplayOptions),r.publishableKey&&(s.publishableKey=r.publishableKey),r.jwt&&(s.jwt=r.jwt,s.sandbox="sandbox"===r.apiMode),a.riskMetadata&&(s.riskMetadata=a.riskMetadata),s}({methodIds:n}))),null==r||r.on("ready",()=>{const n=[];e.map(e=>{const{METHOD_ID:r}=Ko(e);t.innerHTML+=`\n <div class="rebilly-instruments-${r}-method" style="height: ${function(e){var t,n;let r;const a=e.optionsExpressPaymentInstrumentsKey;if(!a)return"48px";const{buttonHeight:s,displayOptions:o}=(null==(n=null==(t=Ge.options)?void 0:t.paymentInstruments)?void 0:n[a])||{};return r=o?o.buttonHeight:s,"number"==typeof r&&(r=`${s}px`),r}(e)}"></div>\n `,n.push(Zo({state:Ge,id:r}))}),n.forEach(e=>e())}),null==r||r.on("error",e=>{if("paypal-error"===e.code){const e=document.querySelector(".rebilly-instruments-pay-pal-billing-agreement-method");if(e&&(e.remove(),t.children.length<=0)){const e=document.querySelector('[data-rebilly-instruments="divider"]');e&&e.remove()}}else console.error(e)});const a="sandbox"===Ge.options.apiMode?"https://forms-sandbox.secure-payments.app/approval-url?close=true":"https://forms.secure-payments.app/approval-url?close=true";null==r||r.on("token-ready",e=>{var t,n,r;const s={websiteId:Ge.options.websiteId,billingAddress:e.billingAddress,redirectUrl:a,_raw:e};if((null==(t=Ge.data)?void 0:t.isShippingRequired)&&(e.shippingAddress?s.deliveryAddress=e.shippingAddress:s.deliveryAddress=s.billingAddress),Array.isArray(null==(n=s.billingAddress)?void 0:n.emails)){const e=s.billingAddress.emails.find(e=>"main"===e.label);(null==e?void 0:e.value)&&(s.billingAddress.email=e.value)}if(Array.isArray(null==(r=s.deliveryAddress)?void 0:r.emails)){const e=s.deliveryAddress.emails.find(e=>"main"===e.label);(null==e?void 0:e.value)&&(s.deliveryAddress.email=e.value)}ut.instrumentReady.dispatch(s)})}function Yo({offer:e}){const t=Ge.data.plans.find(t=>t.id===e.planId),n=Ge.data.products.find(e=>e.id===t.productId),r=(e,t)=>e?t:"";const a={...e,quantity:t.pricing.isBracket?null:e.quantity,name:n.name,description:t.name,unitPrice:function(){const e=function(e,t="USD"){const n=Number(e);return Number.isNaN(n)||null==e?"-":new Intl.NumberFormat("en-US",{style:"currency",currency:t}).format(n)}(t.pricing.isBracket?t.pricing.brackets[0].price:t.pricing.price,t.currency);return t.pricing.isBracket?Ge.translate.getTranslation("form.bumpOffer.startingAt").replace("{basePrice}",e):e}()};return`\n <div class="rebilly-instruments-bump-offer-line-item">\n ${s=a,r(s.thumbnail,`\n <figure class="rebilly-instruments-bump-offer-line-item-figure">\n <img src="${s.thumbnail}" :alt="${s.name}"/>\n </figure>\n `)}\n ${(e=>`\n <div class="rebilly-instruments-bump-offer-line-item-synopsis">\n <p class="rebilly-instruments-bump-offer-line-item-synopsis-title">\n ${e.name}\n </p>\n ${r(e.description,`\n <p class="rebilly-instruments-bump-offer-line-item-synopsis-description">\n ${e.description}\n </p>\n `)}\n </div>\n `)(a)}\n ${(e=>`\n <div class="rebilly-instruments-bump-offer-line-item-price-breakdown">\n ${r(e.quantity,`\n <p class="rebilly-instruments-bump-offer-line-item-price-breakdown-quantity">\n ${e.quantity}\n </p>\n <svg class="rebilly-instruments-icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <path d="M12 10.5858l2.8284-2.8284c.3906-.3906 1.0237-.3906 1.4142 0 .3906.3905.3906 1.0236 0 1.4142L13.4142 12l2.8284 2.8284c.3906.3906.3906 1.0237 0 1.4142-.3905.3906-1.0236.3906-1.4142 0L12 13.4142l-2.8284 2.8284c-.3906.3906-1.0237.3906-1.4142 0-.3906-.3905-.3906-1.0236 0-1.4142L10.5858 12 7.7574 9.1716c-.3906-.3906-.3906-1.0237 0-1.4142.3905-.3906 1.0236-.3906 1.4142 0L12 10.5858z" fill-rule="nonzero"/>\n </svg>\n `)}\n <p class="rebilly-instruments-bump-offer-line-item-price-breakdown-unit-price">\n ${e.unitPrice}\n </p>\n <div>\n `)(a)}\n </div>\n `;var s}async function Qo({data:e}){return Wa(async()=>{if(Ve(Ge.storefront),Xe(Ge.options),null==e)throw new Error("Invalid payload.");Ge.storefront.setSessionToken(Ge.options.jwt);const{fields:t}=await Ge.storefront.deposit.create({data:e});return new To(t)})}function ei(e,t=Ge.form){return t.querySelector(`[data-rebilly-instruments="${e}"]`)}function ti(){var e,t,n;const{expressMethods:r}=mo();if(null==(e=Ge.options)?void 0:e.deposit){const e=ei("deposit-back");e&&(e.style.height="0px",e.style.overflow="hidden")}if(r.length){const e=ei("express-methods");e&&(e.style.height="0px",e.style.overflow="hidden")}if(null==(n=null==(t=Ge.options)?void 0:t.bumpOffer)?void 0:n.length){const e=ei("bump-offer");e&&(e.style.height="0px",e.style.overflow="hidden",e.style.marginBottom="0px")}}async function ni(){var e,t,n,r,a,s,o;const i=ei("content"),l=ei("form"),{expressMethods:u,methods:c}=mo();if(u.length){const e=ei("express-methods");if(e)e.style.height="auto";else{i.insertBefore((({expressMethods:e})=>{const t=document.createElement("div");t.classList.add("rebilly-instruments-method-selector"),t.setAttribute("data-rebilly-instruments","express-methods"),t.innerHTML='\n <div class="rebilly-instruments-express-methods ">\n <span data-rebilly-i18n="form.expressCheckout" class="rebilly-instruments-express-methods-label">Express checkout</span>\n <div class="rebilly-instruments-express-methods-container" data-rebilly-instruments="express-methods-container"></div>\n </div>\n <div data-rebilly-instruments="divider" class="rebilly-instruments-divider">\n <span class="rebilly-instruments-divider-label" data-rebilly-i18n="form.or">Or</span>\n </div>\n ';const n=ei("express-methods-container",t);return Ge.options.paymentInstruments.compactExpressInstruments&&e.length&&(t.classList.add("has-express-compact"),n.classList.add("is-compact")),t})({expressMethods:u}),l),Ge.options.digitalWallet=function({expressMethods:e=[]}){var t;const n={},{paymentInstruments:r}=Ge.options,a={countryCode:Ge.options.countryCode,label:Ge.options.websiteId};if(null==(t=Ge.data)?void 0:t.amountAndCurrency){const{amount:e,currency:t}=Ge.data.amountAndCurrency;a.amount=e,a.currency=t}return e.forEach(e=>{var t,s,o,i;const{METHOD_TYPE:l}=Ko(e);"Google Pay"===(null==(t=e.feature)?void 0:t.name)&&(n[l]={transactionData:a,merchantConfig:{merchantName:e.feature.merchantName,merchantOrigin:e.feature.merchantOrigin},googlePayDisplayOptions:r.googlePay.displayOptions}),"Apple Pay"===(null==(s=e.feature)?void 0:s.name)&&(n[l]={transactionData:a,merchantConfig:{merchantName:null==(i=null==(o=r.applePay)?void 0:o.merchantConfig)?void 0:i.merchantName,merchantOrigin:window.location.hostname},applePayDisplayOptions:r.applePay.displayOptions})}),n}({expressMethods:u});Jo({methods:u,container:Ge.form.querySelector('[data-rebilly-instruments="express-methods-container"]')})}}if(null==(t=null==(e=Ge.options)?void 0:e.bumpOffer)?void 0:t.length){const e=ei("bump-offer");if(e)e.style.height="auto",e.style.marginBottom="calc(var(--rebilly-spacingM) + var(--rebilly-fontSizeS))";else{i.insertBefore((()=>{const e=document.createElement("div");return e.classList.add("rebilly-instruments-bump-offers"),e.setAttribute("data-rebilly-instruments","bump-offer"),e})(),l);!function({container:e}){e.insertAdjacentHTML("beforeEnd",`\n <label for="rebilly-instruments-bump-offer" class="rebilly-instruments-form-field-checkbox">\n <div class="rebilly-instruments-bump-offer-label" data-rebilly-i18n="form.bumpOffer.title">\n ${Ge.translate.getTranslation("form.bumpOffer.title")}\n </div>\n <input\n type="checkbox"\n id="rebilly-instruments-bump-offer"\n />\n <span></span>\n </label>\n `);const t=document.getElementById("rebilly-instruments-bump-offer");t.addEventListener("click",async()=>{Ge.data.acceptBumpOffer=t.checked,await Ya(),Ge.updateModel()}),t.checked=Ge.data.acceptBumpOffer,Ge.options.bumpOffer.forEach(t=>{const n=document.createElement("div");n.classList.add("rebilly-instruments-bump-offer"),n.insertAdjacentHTML("beforeEnd",Yo({offer:t})),e.appendChild(n)})}({container:ei("bump-offer")})}}if(c.length){const e=ze.form;e||await ai();const t=Ge.toModel(),i={options:t.options,data:t.data};null==(n=null==e?void 0:e.component)||n.call("route",{name:"method-switch"}),null==(r=null==e?void 0:e.component)||r.call("update",i),(null==(s=null==(a=null==e?void 0:e.component)?void 0:a.events)?void 0:s["restart-payment-flow"])||null==(o=null==e?void 0:e.component)||o.on("restart-payment-flow",async e=>{if(null==e?void 0:e.createNewDeposit){const t=await Qo({data:{depositRequestId:e.depositRequestId,amount:e.amount}});if(t.approvalUrl)return void window.location.assign(t.approvalUrl)}Ge.data.isPurchase&&ts(),ni()})}else Ge.loader.stopLoading({id:"rebilly-instruments-form"}),Ge.form.querySelector('[data-rebilly-instruments="form"]').style.display="none",document.querySelectorAll('[data-rebilly-instruments="divider"]').forEach(e=>{e.style.display="none"});Ge.translate.translateItems()}const ri=()=>'\n<div data-rebilly-instruments="content" class="rebilly-instruments-content">\n <div data-rebilly-instruments="content-error" id="rebilly-instruments-error"></div>\n <div data-rebilly-instruments="form"></div>\n</div>\n';async function ai(){var e;Ge.form.innerHTML+=ri();const t=Ge.form.querySelector('[data-rebilly-instruments="form"]'),{paymentMethodsUrl:n}=(null==(e=null==Ge?void 0:Ge.options)?void 0:e._computed)||{},r="rebilly-instruments-form",a=Ge.toModel(),s={name:r,url:`${n}?name=${r}`,container:t,model:{options:a.options,data:a.data,mainStyleVars:a.mainStyleVars}},o=await new xt(s);return o.bindEventListeners({loader:Ge.loader}),ze.form=o,Ge.loader.stopLoading({id:"rebilly-instruments-form"}),{then:e=>e()}}function si(){var e;(null==(e=Ge.options)?void 0:e.deposit)?async function(){var e,t,n;Ge.data.money&&(Ge.data.money.amount=null,Ge.data.money.currency=null,Ge.updateModel());const r=ze.form;r||await ai();const a=Ge.toModel(),s={options:a.options,data:a.data};null==(e=r.component)||e.call("route",{name:"amount-selector"}),null==(t=r.component)||t.call("update",s),null==(n=null==r?void 0:r.component)||n.on("confirm-amount",async e=>{const{amount:t,currency:n}=e,{depositRequestId:r}=Ge.options.deposit;Ge.data.money={amount:t,currency:n};const a=await Qo({data:{depositRequestId:r,amount:t}});a&&(Ge.data.transaction=a,Ge.options.transactionId=a.id);const s=await Bo();Ge.data.readyToPay=s,Ge.updateModel(),ni()})}():ni()}function oi({element:e="div",attributes:t={},content:n=null,target:r="body",insertMethod:a="append"}={}){const s=document.createElement(e);Object.entries(t).forEach(([e,t])=>{s.setAttribute(e,t)}),n&&(s.innerHTML=n),r instanceof ShadowRoot?r.prepend(s):document[r][a](s)}const ii=({element:e=""})=>{const{options:t}=Ge;if("form"!==e&&"summary"!==e)throw new Error('element must be "form", or "summary"');return function({prop:e,propName:t="Mounting",isRequired:n=!0}={}){let r;if(void 0===e)throw new Error('processPropertyDOMElement: Missing argument "prop"');if(le(e))r=e;else{if("string"!=typeof e||"string"!=typeof(a=e)||!a.match(/([.#][_a-z]+[_a-z0-9-:\\]*)/gi))throw new Error(`Please provide a valid CSS class, id or DOM element for "${t}" property`);r=document.querySelector(e)}var a;if(!r&&n)throw new Error(`Could not find DOM element with CSS class or id "${e}" to mount ${t}`);return r}({prop:null!=t&&t[e]?t[e]:"summary"===e?".rebilly-instruments-summary":".rebilly-instruments",propName:e,isRequired:["form"].includes(e)})},li=()=>{Xe(Ge.options);const{publishableKey:e,organizationId:t,apiMode:n,_dev:r,_internalOptions:a}=Ge.options,s={organizationId:t,mode:n||"live",appName:null==a?void 0:a.appName};return e&&(s.publishableKey=e),r&&(s.liveUrl=r.liveUrl||"https://api.rebilly.com",s.sandboxUrl=r.sandboxUrl||"https://api-sandbox.rebilly.com"),((e={})=>new za(e))(s)};function ui(e){this.message=e}ui.prototype=new Error,ui.prototype.name="InvalidCharacterError";var ci="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new ui("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,a=0,s=0,o="";r=t.charAt(s++);~r&&(n=a%4?64*n+r:r,a++%4)?o+=String.fromCharCode(255&n>>(-2*a&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return o};function di(e){this.message=e}function pi(e,t){if("string"!=typeof e)throw new di("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return decodeURIComponent(ci(t).replace(/(.)/g,function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}catch(n){return ci(t)}}(e.split(".")[n]))}catch(r){throw new di("Invalid token specified: "+r.message)}}function mi(e){var t,n,r,a,s,o,i,l,u,c;const d=function(e){return Object.assign(JSON.parse(JSON.stringify(e)),{form:e.form||".rebilly-instruments",summary:e.summary||".rebilly-instruments-summary"})}(e);return{form:".rebilly-instruments",summary:".rebilly-instruments-summary",transactionType:"purchase",countryCode:"US",locale:"auto",bumpOffer:[],addons:[],...d,paymentInstruments:{compactExpressInstruments:!1,allowDeactivate:!1,allowUpdate:!1,allowMakeDefault:!1,allowCreate:!0,...d.paymentInstruments||{},address:{name:"default",region:"default",show:[],hide:[],require:[],...(null==(t=d.paymentInstruments)?void 0:t.address)||{}},paypal:{buttonHeight:48,...(null==(n=d.paymentInstruments)?void 0:n.paypal)||{}},googlePay:{...(null==(r=d.paymentInstruments)?void 0:r.googlePay)||{},displayOptions:{buttonColor:"black",buttonHeight:"48px",buttonType:"plain",...(null==(s=null==(a=d.paymentInstruments)?void 0:a.googlePay)?void 0:s.displayOptions)||{}}},applePay:{...(null==(o=d.paymentInstruments)?void 0:o.applePay)||{},displayOptions:{buttonColor:"black",buttonHeight:"48px",buttonType:"plain",...(null==(l=null==(i=d.paymentInstruments)?void 0:i.applePay)?void 0:l.displayOptions)||{}}},paymentCard:{input:"default",...(null==(u=d.paymentInstruments)?void 0:u.paymentCard)||{}},additionalFields:{show:[],require:[],...(null==(c=d.paymentInstruments)?void 0:c.additionalFields)||{}}},theme:{colorPrimary:"#0044d4",colorBackground:"#FFFFFF",colorText:"#0D2B3E",colorDanger:"#CD5C5C",borderRadius:"4px",labels:"stacked",fontFamily:"-apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial sans-serif",fontSizeBase:"16px",fontWeightBase:"400",fontLineHeightBase:"24px",fontSmooth:"auto",headingFontWeight:"500",buttonColorText:"#FFFFFF",buttonBorder:"1px solid transparent",buttonBoxShadow:"none",buttonSecondaryBoxShadow:"none",buttonHoverBoxShadow:"none",buttonSecondaryHoverBoxShadow:"none",buttonActiveBoxShadow:"none",buttonSecondaryActiveBoxShadow:"none",...d.theme||{}},features:{enableLeadSourceTracking:!0,enableTelemetry:!0,hideConfirmation:!1,hideResult:!1,fullPageRedirect:!1,hideContinue:!1,hideZeroAmountSummaryItems:!1,...d.features||{}}}}di.prototype=new Error,di.prototype.name="InvalidTokenError";const fi=({options:e={}}={})=>{let t=mi(e);return t&&(t=function(e){if(e.jwt&&!e.publishableKey){const{merchant:t,claims:{transactionId:n,invoiceId:r,websiteId:a,cashierRequestId:s}}=pi(e.jwt);Object.entries({organizationId:t,transactionId:n,invoiceId:r,websiteId:a}).forEach(([t,n])=>{n&&(e[t]=n)}),s&&!e.deposit&&(e.deposit=Object.assign({},{depositRequestId:s}))}return e}(t),t=function(e){var t;return!Do(e.deposit)&&(null==(t=e.deposit)?void 0:t.currency)?(e.deposit=Ne({editable:!0,buttons:[],customAmount:{minimum:1,maximum:1e12,multipleOf:1}},e.deposit||{}),Number.isNaN(e.deposit.amount)&&e.deposit.buttons&&e.deposit.buttons.length>0&&([e.deposit.amount]=e.deposit.buttons)):Do(e.deposit)&&(e.deposit=Ne({customAmount:{minimum:1,maximum:1e12,multipleOf:1}},e.deposit||{})),e.items&&(e.items=e.items.map(e=>({...e,quantity:Ga(e)}))),e}(t),t=function(e){var t;return Object.assign({},e,{_computed:{version:"0.0.0",paymentMethodsUrl:(null==(t=e._dev)?void 0:t.paymentMethodsUrl)??"https://forms.secure-payments.app"}})}(t)),t};function yi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const hi=yi({aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}),gi="a-f\\d",bi=`#?[${gi}]{3}[${gi}]?`,vi=`#?[${gi}]{6}([${gi}]{2})?`,wi=new RegExp(`[^#${gi}]`,"gi"),ki=new RegExp(`^${bi}$|^${vi}$`,"i");const xi=yi((e,t={})=>{if("string"!=typeof e||wi.test(e)||!ki.test(e))throw new TypeError("Expected a valid hex string");let n=1;8===(e=e.replace(/^#/,"")).length&&(n=Number.parseInt(e.slice(6,8),16)/255,e=e.slice(0,6)),4===e.length&&(n=Number.parseInt(e.slice(3,4).repeat(2),16)/255,e=e.slice(0,3)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);const r=Number.parseInt(e,16),a=r>>16,s=r>>8&255,o=255&r,i="number"==typeof t.alpha?t.alpha:n;if("array"===t.format)return[a,s,o,i];if("css"===t.format){return`rgb(${a} ${s} ${o}${1===i?"":` / ${Number((100*i).toFixed(2))}%`})`}return{red:a,green:s,blue:o,alpha:i}});var Si=new RegExp(/^#([a-f0-9]{3,4}|[a-f0-9]{4}(?:[a-f0-9]{2}){1,2})\b$/,"i");const Pi="-?\\d*(?:\\.\\d+)",Ci=`(${Pi}?)`,Bi=`(${Pi}?%)`,Ai=`(${Pi}?%?)`,Li=`^\n hsla?\\(\n \\s*(-?\\d*(?:\\.\\d+)?(?:deg|rad|turn)?)\\s*,\n \\s*${Bi}\\s*,\n \\s*${Bi}\\s*\n (?:,\\s*${Ai}\\s*)?\n \\)\n $\n`.replace(/\n|\s/g,"");var Ei=new RegExp(Li);const Ii=`^\n hsla?\\(\n \\s*(-?\\d*(?:\\.\\d+)?(?:deg|rad|turn)?)\\s*\n \\s+${Bi}\n \\s+${Bi}\n \\s*(?:\\s*\\/\\s*${Ai}\\s*)?\n \\)\n $\n`.replace(/\n|\s/g,"");var Ti=new RegExp(Ii);const Mi=`^\n rgba?\\(\n \\s*${Ci}\\s*,\n \\s*${Ci}\\s*,\n \\s*${Ci}\\s*\n (?:,\\s*${Ai}\\s*)?\n \\)\n $\n`.replace(/\n|\s/g,"");var $i=new RegExp(Mi);const Ri=`^\n rgba?\\(\n \\s*${Bi}\\s*,\n \\s*${Bi}\\s*,\n \\s*${Bi}\\s*\n (?:,\\s*${Ai}\\s*)?\n \\)\n $\n`.replace(/\n|\s/g,"");var Fi=new RegExp(Ri);const Hi=`^\n rgba?\\(\n \\s*${Ci}\n \\s+${Ci}\n \\s+${Ci}\n \\s*(?:\\s*\\/\\s*${Ai}\\s*)?\n \\)\n$\n`.replace(/\n|\s/g,"");var Ni=new RegExp(Hi);const Oi=`^\n rgba?\\(\n \\s*${Bi}\n \\s+${Bi}\n \\s+${Bi}\n \\s*(?:\\s*\\/\\s*${Ai}\\s*)?\n \\)\n$\n`.replace(/\n|\s/g,"");var Ui=new RegExp(Oi);var _i=new RegExp(/^transparent$/,"i");const ji=(e,t,n)=>Math.min(Math.max(t,e),n),qi=e=>{let t=e;return"number"!=typeof t&&(t=t.endsWith("%")?255*parseFloat(t)/100:parseFloat(t)),ji(Math.round(t),0,255)},Di=e=>ji(parseFloat(e),0,100);function Wi(e){let t=e;return"number"!=typeof t&&(t=t.endsWith("%")?parseFloat(t)/100:parseFloat(t)),ji(t,0,1)}function zi([,e,t,n,r=1]){return{type:"rgb",values:[e,t,n].map(qi),alpha:Wi(null===r?1:r)}}
|
|
27
27
|
/**
|
|
28
28
|
* parse-css-color
|
|
29
29
|
* @version v0.1.2
|