Account

FundsGet

  • https://sandbox-api.srpago.com/v1/funds
https://sandbox-api.srpago.com/v1/funds

Obtén el balance de la cuenta. Ya sea total de fondos o fondos disponibles para retiro.

headers

AuthorizationBearer Token

Content-Typeapplication/json


Example Request 

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

Example Response

  • {
  • "success": true,
  • "result": {
  • "total_funds": "239037.25",
  • "available_funds": "239037.25",
  • "total_withdrawal": "239037.25",
  • "pending_funds": "0.00",
  • "commission": {
  • "amount": "0.00",
  • "iva": "0.00",
  • "total": "0.00"
  • },
  • "currency": "MXN",
  • "timestamp": "2019-09-05T11:22:50-05:00",
  • "monthly_sales": []
  • }
  • }
{
  "success": true,
  "result": {
    "total_funds": "239037.25",
    "available_funds": "239037.25",
    "total_withdrawal": "239037.25",
    "pending_funds": "0.00",
    "commission": {
      "amount": "0.00",
      "iva": "0.00",
      "total": "0.00"
    },
    "currency": "MXN",
    "timestamp": "2019-09-05T11:22:50-05:00",
    "monthly_sales": []
  }
}