Operations
StoresGet
https://sandbox-api.srpago.com/v1/payment
Consulta las operaciones realizadas a través de tiendas de conveniencia (Oxxo) o Spei.
headers
AuthorizationBearer Token
Content-Typeapplication/json
Parameters
typeSTORE
Example Request
curl --location --request GET 'https://sandbox-api.srpago.com/v1/payment?type=STORE' \ --header 'Content-Type: application/json'
Example Response
{ "success": true, "result": { "total": 842, "sales": "707305.04", "transferences": "401.49", "commissions": { "amount": 162.54, "currency": "MXN" }, "operations": [ { "transaction": "MjY2MzYyNQ==", "timestamp": "2018-10-25T12:48:37-05:00", "payment_method": "OXX", "authorization_code": "4174B14B", "status": "N", "reference": { "description": "-" }, "card": { "holder_name": "Banco pruebas", "type": "OXXO", "number": "0000", "label": "", "raw": "0000" }, "total": { "amount": "100.00", "currency": "MXN" }, "tip": { "amount": "0.00", "currency": "MXN" }, "fee": { "amount": "54.18", "currency": "MXN" }, "fee_details": [ { "type": "fee", "percentage": 3.6, "amount": 4.18, "description": "" }, { "type": "application_fee", "percentage": 20, "amount": 20, "description": "CONTRACARGO DE 50mil" }, { "type": "application_fee", "percentage": 30, "amount": 30, "description": "FINANCIAMIENTO 2" } ], "origin": { "location": { "latitude": "0.000000", "longitude": "0.000000" } }, "affiliation": "0", "url": "https://sandbox-connect.srpago.com/recipe/OTUzYjg4MmUtYzYyNS00YTEzLTg3NjQtOGRmZWY3N", "hasDevolution": false, "commission": { "amount": "54.18", "currency": "MXN" } }, { "transaction": "MjY2MzYyNA==", "timestamp": "2018-10-25T12:32:15-05:00", "payment_method": "OXX", "authorization_code": "417478AD", "status": "N", "reference": { "description": "-" }, "card": { "holder_name": "Banco pruebas", "type": "OXXO", "number": "0000", "label": "", "raw": "0000" }, "total": { "amount": "100.00", "currency": "MXN" }, "tip": { "amount": "0.00", "currency": "MXN" }, "fee": { "amount": "54.18", "currency": "MXN" }, "fee_details": [ { "type": "fee", "percentage": 3.6, "amount": 4.18, "description": "" }, { "type": "application_fee", "percentage": 20, "amount": 20, "description": "CONTRACARGO DE 50mil" }, { "type": "application_fee", "percentage": 30, "amount": 30, "description": "FINANCIAMIENTO 2" } ], "origin": { "location": { "latitude": "0.000000", "longitude": "0.000000" } }, "affiliation": "0", "url": "https://sandbox-connect.srpago.com/recipe/ZDE4MTY3MDgtZjgxOC00ZmY1LTlkOGUtYTI1MDcwZGZhZjVl", "hasDevolution": false, "commission": { "amount": "54.18", "currency": "MXN" } } ] } }