curl --request GET \
--url https://api.dots.dev/api/v2/payment-methods \
--header 'Authorization: Basic <encoded-value>'
{
"data": [
{
"id": "<string>",
"platform": "ach",
"description": "<string>",
"mask": "<string>",
"email": "<string>",
"phone_number": "<string>",
"cash_tag": "<string>",
"country": "<string>",
"currency": "<string>",
"rtp_enabled": true
}
],
"has_more": true
}
Get the payment methods for a payment customer
curl --request GET \
--url https://api.dots.dev/api/v2/payment-methods \
--header 'Authorization: Basic <encoded-value>'
{
"data": [
{
"id": "<string>",
"platform": "ach",
"description": "<string>",
"mask": "<string>",
"email": "<string>",
"phone_number": "<string>",
"cash_tag": "<string>",
"country": "<string>",
"currency": "<string>",
"rtp_enabled": true
}
],
"has_more": true
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Payment Customer ID
Number or payment methods to return
OK
The response is of type object
.
Was this page helpful?