curl --request GET \
--url https://api.dots.dev/api/v2/payment-methods/{payment_method_id} \
--header 'Authorization: Basic <encoded-value>'
{
"id": "<string>",
"platform": "ach",
"description": "<string>",
"mask": "<string>",
"email": "<string>",
"phone_number": "<string>",
"cash_tag": "<string>",
"country": "<string>",
"currency": "<string>",
"rtp_enabled": true
}
Get a payment method by its ID.
curl --request GET \
--url https://api.dots.dev/api/v2/payment-methods/{payment_method_id} \
--header 'Authorization: Basic <encoded-value>'
{
"id": "<string>",
"platform": "ach",
"description": "<string>",
"mask": "<string>",
"email": "<string>",
"phone_number": "<string>",
"cash_tag": "<string>",
"country": "<string>",
"currency": "<string>",
"rtp_enabled": true
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
ID of the payment method to get
OK
The response is of type object
.