Operations

ExpressGet

https://sandbox-api.srpago.com/v1/payment

Consulta las operaciones realizadas dentro de nuestro webcheckout.

headers

AuthorizationBearer Token

Content-Typeapplication/json

Parameters

typeECOMMERCE


Example Request 

curl --location --request GET 'https://sandbox-api.srpago.com/v1/payment?type=ECOMMERCE' \
--header 'Content-Type: application/json'

Example Response

{
  "success": true,
  "result": {
    "total": 0,
    "operations": [
      {
        "status": 1,
        "total": {
          "amount": 121,
          "currency": "MXN"
        },
        "balance": {
          "amount": 121,
          "currency": "MXN"
        },
        "timestamp": "2022-01-07T07:53:19-06:00",
        "reference": {
          "description": "Acerca de este pago"
        },
        "url": "https://sandbox-api.srpago.com/web/checkout/ZWU5MTc5ZzJh/k/Mjc5NzAwQ=="
      },
      {
        "status": 1,
        "total": {
          "amount": 300,
          "currency": "MXN"
        },
        "balance": {
          "amount": 300,
          "currency": "MXN"
        },
        "timestamp": "2022-01-05T11:47:56-06:00",
        "reference": {
          "description": "Acerca de este pago"
        },
        "url": "https://sandbox-api.srpago.com/web/checkout/ZWU5MTc5ZzJh/k/Mjc5NjcxO=="
      },
      {
        "status": 1,
        "total": {
          "amount": 100,
          "currency": "MXN"
        },
        "balance": {
          "amount": 100,
          "currency": "MXN"
        },
        "timestamp": "2022-01-04T13:44:31-06:00",
        "reference": {
          "description": "-"
        },
        "url": "https://sandbox-api.srpago.com/web/checkout/ZWU5MTc5ZzJh/k/Mjc5NjYxN=="
      },
      {
        "status": 1,
        "total": {
          "amount": 19999,
          "currency": "MXN"
        },
        "balance": {
          "amount": 19999,
          "currency": "MXN"
        },
        "timestamp": "2021-12-09T10:01:00-06:00",
        "reference": {
          "description": "Acerca de este pago"
        },
        "url": "https://sandbox-api.srpago.com/web/checkout/ZWU5MTc5ZzJh/k/Mj5NDQxMA=="
      },
      {
        "status": 1,
        "total": {
          "amount": 30000,
          "currency": "MXN"
        },
        "balance": {
          "amount": 30000,
          "currency": "MXN"
        },
        "timestamp": "2021-12-06T06:06:21-06:00",
        "reference": {
          "number": "3662",
          "description": "-"
        },
        "url": "https://sandbox-api.srpago.com/web/checkout/ZWU5MTc5ZzJh/k/Mjc5NDyMA=="
      },
      {
        "status": 1,
        "total": {
          "amount": 3000,
          "currency": "MXN"
        },
        "balance": {
          "amount": 3000,
          "currency": "MXN"
        },
        "timestamp": "2021-11-29T16:46:18-06:00",
        "reference": {
          "description": "Cena"
        },
        "url": "https://sandbox-api.srpago.com/web/checkout/ZWU5MTc5ZzJh/k/Mjc5MzMMw=="
      }
    ]
  }
}