Movimientos
Consultar movimientos
POST /transactions/page/0
Consultá la lista de tus movimientos para una fecha determinada.
Headers
Content-Type
application/json
apikey
su_api_key
X-TRACE-ID
uuidv4()
X-VERSION
1
Request Body
date
Fecha desde
date
Fecha hasta
Response
{
"page": "number",
"existMore": "boolean",
"listTrx": [
{
"_id": "number",
"amount": "number",
"dateTime": "string",
"firstName": "string",
"lastName": "string",
"userId": "number",
"taxes": [],
"commission": {
"rate": "number",
"amount": "number"
},
"payment": {
"paymentId": "number",
"hash": "string",
"method": "string",
"totalAmount": "number",
"hasRefund": "boolean",
"canceled": "boolean",
"cardNumber": "string",
"cardHolderName": "string",
"first5Numbers": "string",
"last4Numbers": "string",
"issuerName": "string",
"issuerKey": "string",
"paymentMethodId": "number",
"name": "string",
"es": "string",
"en": "string",
"paymentMethodType": "string",
"adjustTipAvailable": "boolean",
"issuerImageUrl": "string"
},
"authorizationCode": "string",
"authenticationType": "string",
"operationCode": "string",
"operation": "string",
"operationId": "number",
"saleId": "number",
"cardName": "string",
"abr": "string",
"device": "string",
"buyer": {
"id": "number",
"name": "string",
"buyerId": "number",
"firstName": "string",
"lastName": "string",
"email": "string",
"address": "string",
"addressLine2": "string",
"province": "string",
"zipCode": "string",
"birthdate": "string",
"phone": "string",
"city": "string",
"document": "string",
"documentType": "string",
"countryId": "string",
"occupation": "string",
"country": "string"
},
"items": [
{
"productId": "number",
"isCustomAmount": "boolean",
"quantity": "number",
"productPrice": "number",
"totalAmount": "number",
"productName": "string",
"productBackgroundColor": "string",
"productImageUrl": "string"
}
],
"canAnnulate": "boolean",
"canAnnulateWithoutCard": "boolean",
"canRefund": "boolean",
"canRefundWithoutCard": "boolean",
"canceled": "boolean"
}
]
}Puede acceder a la API Sipago mediante curl o cualquier cliente HTTP. Aquí algunos ejemplos de solicitud:
Consultar movimientos por número de autorización
GET /transactions/code/:authorizationcode
Consultá el movimiento filtrando por número de autorización.
Params
authorizationcode
string
Headers
Content-Type
application/json
apikey
su_api_key
X-TRACE-ID
uuidv4()
X-VERSION
1
Response
Puede acceder a la API Sipago mediante curl o cualquier cliente HTTP. Aquí algunos ejemplos de solicitud:
Consultar Orden
GET /checkout/getLink/:uuid
Consultá el movimiento filtrando por identificador uuid de la orden.
Params
uuid
string
Headers
Content-Type
application/json
apikey
su_api_key
X-TRACE-ID
uuidv4()
X-VERSION
1
Response
Puede acceder a la API Sipago mediante curl o cualquier cliente HTTP. Aquí algunos ejemplos de solicitud:
const axios = require('axios');
let config = {
method: 'get',
maxBodyLength: Infinity,
url: 'http://api-gwt.sipago.online/services/checkout/getLink/99868576-6b2d-4e1b-8aae-784317301e46',
headers: {
'apikey': 'su_api_key',
'X-TRACE-ID': 'uuidv4()',
'X-VERSION': '1'
}
};
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
import requests
url = "http://api-gwt.sipago.online/services/checkout/getLink/99868576-6b2d-4e1b-8aae-784317301e46"
payload = {}
headers = {
'apikey': 'su_api_key',
'X-TRACE-ID': 'uuidv4()',
'X-VERSION': '1'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
Última actualización