Set default payment methods
Changed onSets a default payment method for the specified user
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"ownerId": "40e8af95-4caf-415a-96d9-7b023207b535",
"companyId": "9c130291-cf29-4272-8005-a280b1e81388",
"paymentMethodId": "e35c2f85-ef92-4a8f-89f0-45b62fb95fa7"
}Response
OK
Example response
{
"paymentMethodId": "e35c2f85-ef92-4a8f-89f0-45b62fb95fa7"
}Changes
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
the request's body type changed from no type to
object - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking