Attach a payment methods to a payment customer for resuse.
curl --request POST \
--url https://api.dots.dev/api/v2/payment-methods/{payment_method_id}/attach \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"customer_id": "<string>"
}'
{
"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
.
The ID of the payment method.
OK
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.dots.dev/api/v2/payment-methods/{payment_method_id}/attach \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"customer_id": "<string>"
}'
{
"id": "<string>",
"platform": "ach",
"description": "<string>",
"mask": "<string>",
"email": "<string>",
"phone_number": "<string>",
"cash_tag": "<string>",
"country": "<string>",
"currency": "<string>",
"rtp_enabled": true
}
Attach a payment methods to a payment customer for resuse.
curl --request POST \
--url https://api.dots.dev/api/v2/payment-methods/{payment_method_id}/attach \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"customer_id": "<string>"
}'
{
"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
.
The ID of the payment method.
OK
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.dots.dev/api/v2/payment-methods/{payment_method_id}/attach \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"customer_id": "<string>"
}'
{
"id": "<string>",
"platform": "ach",
"description": "<string>",
"mask": "<string>",
"email": "<string>",
"phone_number": "<string>",
"cash_tag": "<string>",
"country": "<string>",
"currency": "<string>",
"rtp_enabled": true
}