Skip to content

Save a payment method (legacy)

POST
/v1/billing/card
curl --request POST \
--url https://shareout.site/v1/billing/card \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "subscription_id": "example", "token": "example" }'

Legacy dLocal token path. New subscriptions use Rebill embedded checkout and /v1/billing/rebill-save-card or /v1/billing/rebill-activate.

Media type application/json
object
subscription_id
required
string
token
required

Legacy payment token.

string
Example generated
{
"subscription_id": "example",
"token": "example"
}

Card saved