Distribuitor

Distribuitor OperationsGet

https://sandbox-api.srpago.com/v1/distribuitor/operations

Obtén las operaciones por distribuidor o cuenta maestra.

 

headers

AuthorizationBearer Token

Content-Typeapplication/json

PATH VARIABLES


start_date(YYYY-MM-DD)

end_date(YYYY-MM-DD)

limit(int)

offset(int)

card_typeVISA, MAST, AMEX, CRNT

operator[email protected]

charge_methodCARD, SPE


Example Request 

curl --location --request GET 'https://sandbox-api.srpago.com/v1/distribuitor/operations' \
--header 'Content-Type: application/json'

Example Response

{
    "success": true,
    "result": {
        "operations": [
            {
                "user": "[email protected]",
                "transaction": "Mjc5MDA4OQ==",
                "timestamp": "2021-02-17T18:45:38-06:00",
                "payment_method": "TRA",
                "authorization_code": "U2UTXN_1613609138144",
                "status": "N",
                "reference": {
                    "number": "0",
                    "description": "tx user"
                },
                "card": {
                    "holder_name": "Erick Esquivel Hernandez",
                    "type": "SRPA",
                    "number": "0",
                    "label": "",
                    "raw": "0",
                    "noSignature": false
                },
                "total": {
                    "amount": "1.00",
                    "currency": "MXN"
                },
                "tip": {
                    "amount": "0.00",
                    "currency": "MXN"
                },
                "fee": {
                    "amount": "0.00",
                    "currency": "MXN"
                },
                "fee_details": [],
                "origin": {
                    "location": {
                        "latitude": "0.000000",
                        "longitude": "0.000000"
                    }
                },
                "affiliation": "0",
                "transaction_type": "E",
                "url": "https://sandbox-connect.srpago.com/recipe/ZmJlM2FlZWMtOGNmYy00ZDZkLWFlZDctYjBiYTJhYzBhOGFj",
                "hasDevolution": false,
                "transference": {
                    "source": {
                        "first_name": "Erick",
                        "last_name": "Esquivel",
                        "surname": "Hernandez",
                        "email": "[email protected]",
                        "username": "[email protected]",
                        "thirdparty_accounts": false,
                        "uuid": "05049190-3801-11ea-b4e0-02c141ad4313",
                        "open_keyboard": false,
                        "hours_stp": 0,
                        "inventory": false,
                        "pending_charges": false,
                        "spei_provider": "STP",
                        "banpay_clabe": false,
                        "limitOperation": 50000,
                        "ecommTransferBtwUsrs": 0
                    },
                    "destination": {
                        "first_name": "Jorge",
                        "last_name": "Padilla",
                        "surname": "Zepeda",
                        "email": "[email protected]",
                        "username": "[email protected]",
                        "thirdparty_accounts": false,
                        "uuid": "5e262a69-3801-11ea-b4e0-02c141ad4313",
                        "open_keyboard": false,
                        "hours_stp": 0,
                        "inventory": false,
                        "pending_charges": false,
                        "spei_provider": "STP",
                        "banpay_clabe": false,
                        "limitOperation": 50000,
                        "ecommTransferBtwUsrs": 0
                    }
                },
                "commission": {
                    "amount": "0.00",
                    "currency": "MXN"
                }
            }
        ]
    }
}