Skip to main content
PUT
/
billing
/
subscription
/
paymentMethod
Update payment method
curl --request PUT \
  --url https://api.getcargo.io/v1/billing/subscription/paymentMethod \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "paymentMethodId": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request body schema.

paymentMethodId
string
required

Payment method identifier.

Response

Successful response

The response is of type object.