Update default payment method
Set default_paymethod_id to an id from GET /account/paymethods/, or paymethod: bank_transfer for bank transfer.
Request
Add parameter in header API-key
Example:API-key: ********************
Body Params application/jsonRequired
{"default_paymethod_id":"mdt_xxx"}
Request Code Samples
curl --location --request PUT 'https://mijn.host/api/v2/account/paymethods/' \
--header 'Accept: application/json' \
--header 'User-Agent: my-application/1.0.0' \
--header 'API-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{"default_paymethod_id":"mdt_xxx"}'
Responses
application/json {
"status": 0,
"status_description": "string",
"data": {
"default": "bank_transfer",
"default_paymethod_id": "string"
}
}
Modified at 2026-04-09 12:56:00