Payment Methods
Retrieve a Payment Methods
Retrieve a payment methods by its id.
GET
/
v2
/
payment-methods
/
{payment_method_id}
Authorization
Path
curl --request GET \
--url https://api.dots.dev/api/v2/payment-methods/{payment_method_id} \
--header 'Authorization: <authorization>'
{
"cash_tag": "<string>",
"country": "<string>",
"currency": "<string>",
"description": "<string>",
"email": "<string>",
"id": "<string>",
"mask": "<string>",
"phone_number": "<string>",
"platform": "ach"
}
Authorizations
Authorization
string
headerrequiredBasic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
payment_method_id
string
requiredID of the payment method to get
Response
200 - application/json
cash_tag
string
country
string
currency
string
description
string
email
string
id
string
ID of the payment-method
.
mask
string
phone_number
string
platform
enum<string>
requiredAvailable options:
ach
, paypal
, venmo
, cash_app
, intl_transfer
curl --request GET \
--url https://api.dots.dev/api/v2/payment-methods/{payment_method_id} \
--header 'Authorization: <authorization>'
{
"cash_tag": "<string>",
"country": "<string>",
"currency": "<string>",
"description": "<string>",
"email": "<string>",
"id": "<string>",
"mask": "<string>",
"phone_number": "<string>",
"platform": "ach"
}