Get the customer cash source
This endpoint needs your API key
Send it as a bearer token in the Authorization header. A request without one is answered with 401. See Authentication for where to find your key and how to keep it secret.
Request
curl -X GET "https://api.leapa.co/v2/customers/cus_3d8e51fa20/sources/acc_62f3a8d15b/cash" \
-H "Authorization: Bearer $LEAPA_API_KEY" \
-H "Accept: application/json"Response
OK
{
"currency": "BIF",
"id": "obj_5f21c8a40b",
"merchant": "string"
}Path parameters
Values that go into the URL itself.
customer_idstringrequiredExample:cus_3d8e51fa20account_idstringrequiredExample:acc_62f3a8d15b
Response
application/json
currencystringCurrency Code.
Allowed values:BIFUSDKESXAFidstringAccount Id
merchantstringAccount Merchant Unique Id
Status codes
200OK400Bad request401Unauthorized402Payment required403Forbidden404Not found428Precondition required500Server error