Skip to content

Instantly share code, notes, and snippets.

View renanmpimentel's full-sized avatar

Renan Martins Pimentel renanmpimentel

View GitHub Profile
@renanmpimentel
renanmpimentel / santander-ofx.js
Last active June 28, 2022 05:24
Script para gerar arquivo OFX de cartões de credito santander. ( Baseado https://github.com/gushonorato/nubank-ofx )
function startOfx() {
return `
OFXHEADER:100
DATA:OFXSGML
VERSION:102
SECURITY:NONE
ENCODING:USASCII
CHARSET:1252
COMPRESSION:NONE
OLDFILEUID:NONE
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://ws.payvalida.valida.com" xmlns:intf="http://ws.payvalida.valida.com" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ws.payvalida.valida.com">
<!--WSDL created by Apache Axis version: 1.4 Built on Apr 22, 2006 (06:55:48 PDT)-->
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://ws.payvalida.valida.com">
<s:element name="registrarPO">
<s:complexType>
<s:sequence>
<s:element name="codigoPadre" type="xsd:string" />
<s:element name="merchantID" type="xsd:string" />