Path Parameters
The unique identifier for the Payment Method to detach.
Body
Response
Returns the updated Payment Method object reflecting the detachment. If the Payment Method or target driver or fleet does not exist, an error is returned.
A Payment Method object represents a saved way to pay for charging sessions, such as a credit card. It can be attached to a driver, a fleet, or an account and is used during session billing or reservation fees.
Unique identifier for the Payment Method object.
String representing the object’s type. Always 'payment_method'.
Time at which the Payment Method was created. Measured in seconds since the Unix epoch.
The type of the Payment Method. An additional hash is included on the Payment Method with a name matching this value, containing fields specific to that payment method type. For example, if the type is card, the Payment Method will include a card hash with card-specific details.
bank_account, card, wallet Present when type is bank_account. Contains bank account-specific details.
Billing information associated with the Payment Method.
Present when type is card. Contains card-specific details.
ID of the driver this Payment Method is attached to, if any.
ID of the fleet this Payment Method is attached to, if any.
Present when type is wallet. Contains wallet-specific details.

