Generate eCash Barcode

Barcode

POST https://api.synapsefi.com/v3.1/users/:user_id/nodes/:node_id/barcode

This endpoint allows you to generate a barcode for Greendot's eCash feature. Currently only avaliable for Deposit Accounts.

Path Parameters

NameTypeDescription

node_id

string

ID of the node.

user_id

string

ID of the user.

Headers

NameTypeDescription

X-SP-USER

string

User's OAuth key and device fingerprint, separated by a pipe.

X-SP-USER-IP

string

IP address of user's device.

X-SP-GATEWAY

string

Your Client ID and Secret, separated by a pipe.

Request Body

NameTypeDescription

amount.amount

number

The amount the user wishes to deposit.

amount.currency

string

The currency of the amount.

retailer_id

integer

Greendot supports eCash for a limited number of retailers. See IDs below: - 2481 for 7-Eleven

- 2433 for CVS - 2460 for Rite Aid - 2812 for Walmart

{
    "_id": "5f164328373b92fecffaadd3",
    "barcode": "629964901060000392300000000000",
    "barcode_base64": "iVBORw0KGgoAAAANSUhEUgAAAhQAAAEYCAIAAACLMvhUAAAOBElEQVR4nO3cW4iV5f7A8WepoylqnlJTQ/CQqaUdbupOFDU1TLKwwMIIrQipMLGoTKW7MLSbKKGTkGEGsUUrQcyyJLOsRMmzZOapsBwbczzM/2LtPXv2rJnx+cl/z55Yn89VrvVbz/O+77zNd86FmpqaBAARrf7XBwDA3494ABAmHgCEiQcAYeIBQJh4ABAmHgCEiQcAYeIBQJh4ABDW5r+3dKFQqP3v2j+CUnyw3t9EqTtZ+pLGBhqcrPeSBvetXa3ePxtcs4mtm16tib/7Um/NJs70Mg7jkg/W26uJq9f0sUWPMDXyVogecIPPNn3ATayTc/oN3ksNanq10jVLX5h/bDmrNfESq/2/rJbzP2+Da172C5s4i8beof2X/gaVzzwACBMPAMLEA4Aw8QAgTDwACBMPAMLEA4Aw8QAgTDwACBMPAMLEA4Aw8QAgTDwACBMPAMLEA4Aw8QAgTDwACBMPAMLEA4Aw8QAgTDwACBMPAMLEA4Aw8QAgTDwACBMPAMLEA4Aw8QAgTDwACBMPAMLEA4Aw8QAgTDwACBMPAMLEA4Aw8QAgTDwACBMPA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0a9euV69e99xzz7Zt2+otcvr06Xnz5g0ePLhdu3bdunWbNGnSli1bLmPmksdTz5IlSwqFQqFQ2Lt372XstXXr1ttvv/3KK6/s3Lnz2LFjN2/eXG+gsrLy/fffv//++7t3714oFO69994GD+OS62SeV846zTNz8eLFTz755MEHHxw6dOgVV1zRs2fPKVOmlK5zyeucc/9k7tWiro+Z8lVDTU1NTc3JkydHjhxZ7+JMnTq1dmDZsmWlV6+iomL16tW1M2fOnLnllltKZzZs2BCayTmeuo4fP96lS5fizJ49e6J7ffXVV+3atas389lnn9Wdefjhh+sOTJs2rfQwctbJOa+cdZptpsH3F61atVq5cmXoOufcPzl7tbTrU+Yz5Uw8/unBBx9MKfXu3XvVqlWVlZUnT55cvnz5U089VTuwfPnyu+66a9WqVXv27Kmqqtq+ffu4ceOKLzl37lxx5tVXX00p9enTZ+3atZWVlYcPH37uuedSSsOGDbt48WL+TM7x1PXQQw+NHDly6NCh6T/jkbnXzTffnFKaPn360aNHjx8//tBDD6WUhg8fXndm7ty5d99999tvv/3WW2+lRuKRs07OeeWs02wzW7ZsGTdu3IoVK3bv3n3mzJn9+/c/8sgjKaWrrroq9HbPuX9y9mpp16fMZ8qZeNTU1NQcPXq0devWrVu3/uabb/Jf9ccff3Ts2DGltG3btuIjU6dOTSm98cYbdccmTJiQUvr666/zZ0LHs3Xr1latWq1fv3748OH14pGz17fffptS6tev39mzZ4uPnDt3bsCAASmlL774onS71atXNxiPnHVyzitnneacaVBxZufOncV/5lznUqX3T85eLe36lPNMmfM9j5RSWrt27YULFyZPnlz8WCNT586dizfTxYsXi4/89ttvKaXrrruu7ljxqzSbNm3Kn8k/npqamtmzZ99xxx2jR48ufTZnr40bN6aUpkyZ0rZt2+Ijbdq0Kb433LBhQ9O715WzTs555azTnDMNKhQKKaXOnTsX/5lznUuV3j85e7W061POM2VOPFJK6fvvv08pTZo0KfSqs2fPHjx4sEuXLtdff33xke7du6eUdu3aVXfshx9+SCnVfh87Zyb/eN55552tW7e+9NJLDT6bs9fu3btTSjfccEPdmeI7vuJTmXLWyTmvnHWac6auc+fO7d69e+bMmfv27Rs7dmzfvn2Lj+dc51Kl90/OXi3t+pTzTJkTj5RSOnbsWEpp+PDhy5YtGzRoULt27QYMGDBnzpxTp0418arFixefOnVq3rx5tR+bjBkzJqX0/PPPr1u37vTp00eOHFmwYMH69etTSidPnsyfyTyeysrKp59++rHHHrv22msbPMKcvYofNffq1avuC3v27Fn7VKacdXLOK2ed5pwp2rt3b6FQaNu27ZAhQ959992ZM2d+8MEHtc/mXOdSpfdPzl4t7fqU80yZE4+UUqqqqkopffjhh7Nmzdq3b191dfWBAwdefvnlUaNGnT17tsGXbNy48YUXXhg1atTcuXNrH5wxY8aIESN+/vnn8ePHd+rUqU+fPgsXLpw9e3ZKqXadnJnM41m0aFF1dfX8+fMbO6+cvf7666+UUtu2bQ8fPjxgwID+/fvv37+/+EMmZ86cyb+GOevknFfOOs05U+rChQvV1dXnz58PXed6Grx/cvZqadennGfKnHiklFLxQ7+lS5cuXLjwl19+OXXq1Nq1a3v37r1t27Z33nmndP67776bMmXK4MGDP/jgg9atW9c+3r59+40bNz7++OP9+/evqKgYPHjwm2++OXHixJRShw4d8mdyjmfXrl1Lly5dsGBB165dGzuvnL2uuOKKlFJ1dfXFixfPnz9f/EmS4ru89u3b51/DnHVyzitnneacKRo0aFDxqZ07dz7wwANvv/326NGjL1y4kH+d62rs/snZq6Vdn3KeKXPikVJKxfe/EydOnD9//tVXX92pU6cJEyYsWrQopVT84kNdO3fuHDt27JVXXrlu3bpu3brVe7ZLly5Lliw5ePBgdXX17t27Z8yYsWPHjvSfn/9ecibneJ544omBAwc++uijTZ/aJfcqfr3+2LFj11xzzU8//XTo0KGBAwceP3689qlMOevknFfOOs05U1fbtm2HDh36+uuvT548+bvvvvvHP/6Rf51rNX3/XHKvlnZ9ynmmzIlHSikNGjQo/eu7YbWGDBmSSr6+uWvXrjFjxlRUVKxfv75fv345i69ZsyalNGLEiPyZnOP5+OOPf/zxx4qKisK/FN9bDR48uFAo/Prrr5l7Fb9fsn379rozxW/2NvatlAblrJNzXjnrNOdMg2699daUUvGCN6bBt/tl3D/19mpp16ecZ8pd8/5kcAv1+eefp5Lfc37ttddSSvfdd1/tI3v27Onbt2+PHj127NiRufLmzZsLhUKbNm1OnDiRP5NzPE2/WRvbrnSv5vw9j5zz+lv8LP/kyZNTSosXL25soMG3+2XcP6V7tbTrU84zZU48ampqas6fP1+8LV588cUjR45UVlYWvxaf6vzm1759+/r169e1a9emf6Vrzpw57733XnGRlStXFn88Y9asWaGZnOMpVfpLgpnHc+ONN6aUpk+ffuzYsRMnThR/k3bo0KEXLlwo3aWxeOSsk3leOcfTbDOzZ89+8sknN23adPTo0aqqqh07dhR/67tVq1Z1G3DJ65xz/2Tu1aKuT5nPlDPx+KePPvqo9FuXt912W3V1dXHg2WefTY1YsWJF7Tp33nlnvWdvuumm33//ve5eOTOXPJ5SDcYjZ68vv/yy3t/wadOmzaefflp3Zvny5Q2e+5133hlaJ+e8ctZptplp06Y1eOILFiwIXeec+ydzrxZ1fcp8ppyJx79t2rRp/PjxXbp0qaioGDRo0DPPPPPnn3/WPpsZjwMHDsyYMaNv377t27cfNmzYwoULq6qq6m2UM3PJ4ynVYDwy9yr+VaVOnTp17NhxzJgxpZ+Y58QjZ53M88pZp3lmTpw48corr4waNapfv34VFRU9evSYMGHCmjVr6i1yyeucc/9k7tWiro+ZslWoudRXzwGgHj9tBUCYeAAQJh4AhIkHAGHiAUCYeAAQJh4AhIkHAGHiAUCYeAAQJh4AhIkHAGHiAUCYeAAQJh4AhIkHAGH/B6BcN0Z7oGNpAAAAAElFTkSuQmCC"
}

Example Request

POST /v3.1/users/5fd7acfd8677040053ad486d/nodes/5fd901bb20b3aa0bc7caee85/barcode HTTP/1.1
Host: uat-api.synapsefi.com
X-SP-USER-IP: 255.127.79.76
X-SP-USER: oauth_isTNxF03CIy0btQDHzlhG82Owm4uonfVUjE9SpPe|e83cf6ddcf778e37bfe3d48fc78a6502062fc
Content-Type: application/json

{
    "amount": {
        "amount": 100,
        "currency": "USD"
    },
    "retailer_id": 2481
}

View Green Dot Locations

To view available Green Dot Locations, use our View ATMs endpoint. This endpoint shows locations that participate in both of Green Dot's available features: eCash and/or Swipe to Deposit.

Last updated