apple-developer-merchantid-domain-association file from Kushki Support (specify if it is for UAT or Production).https://{your-domain}/.well-known/apple-developer-merchantid-domain-association#kushki-apple-pay-button).requestApplePayToken method is a Kushki card token, not an Apple token. This token is pre-processed and ready to be used directly in Kushki’s API to perform a charge card transaction.requestBankList() method. You must send the ID of the selected bank when requesting a transfer token.requestBankList() method to get the complete list of available banks.| PROPERTY | TYPE | REQUIRED | DESCRIPTION |
|---|---|---|---|
| kushkiInstance | IKushki | YES | Object with public merchant id and work environment |
requestBankList() method can return as a KushkiError object:| CODE | MESSAGE | EXAMPLE | DESCRIPTION |
|---|---|---|---|
| E014 | Error en solicitud de lista de bancos (Error in bank list request) | { code: "E014", message: "Error en solicitud de lista de bancos" } | If there was an error in obtaining the bank list, the error code E014 will be returned. Please try again making sure to enter the card data correctly, if the error persists contact Kushki support. |
requestBrandsByMerchant() method. This information can be useful to display the payment options available in your store.| PROPERTY | TYPE | REQUIRED | DESCRIPTION |
|---|---|---|---|
| kushkiInstance | IKushki | YES | Object with public merchant id and work environment |
requestBrandsByMerchant() method can return as a KushkiError object:| CODE | MESSAGE | EXAMPLE | DESCRIPTION |
|---|---|---|---|
| E021 | Error en solicitud de marcas de tarjetas del comercio | { code: "E021", message: "Error en solicitud de marcas de tarjetas del comercio" } | Please check the information sent and try again. |
Note: The Split Payment mode is only available on demand in Ecuador.
| PROPERTY | TYPE | REQUIRED | DESCRIPTION |
|---|---|---|---|
| kushkiInstance | IKushki | YES | Object with public merchant id and work environment |
| body | CommissionConfigurationRequest | YES | Object with information on the currency and the amount to calculate the commissions. |
requestCommissionConfiguration() method can return as a KushkiError object:| CODE | MESSAGE | EXAMPLE | DESCRIPTION |
|---|---|---|---|
| E015 | Error en solicitud de configuración de comisión (Error in commission configuration request) | { code: "E015", message: "Error en solicitud de configuración de comisión" } | If there was an error getting the commission settings for the merchant, error code E015 will be returned. Please try again making sure you submit the required information correctly. |
requestInitCardBrandingAnimation method to render the animation after an approved transaction.| PROPERTY | TYPE | REQUIRED | DESCRIPTION |
|---|---|---|---|
| opts | CardBrandingRequest (Visa, Mastercard) | YES | Object with animation settings. |
requestInitCardBrandingAnimation() method can return as a KushkiError object:| CODE | MESSAGE | EXAMPLE | DESCRIPTION |
|---|---|---|---|
| E022 | Error al generar animación | { code: "E022", message: "Error al generar animación" } | Please verify that the animation configuration parameters are correct. |
Note: You can combine both options; some style attributes can be CSS classes, and others can be an object.