ReDoc documentation
Set payment information for a specified cart.
| object (quote-data-address-interface)  Interface AddressInterface | |
| required | object (quote-data-payment-interface)  Interface PaymentInterface | 
200 Success.
400 Bad Request
401 Unauthorized
Unexpected error
{- "paymentMethod": {- "po_number": "string",
- "method": "string",
- "additional_data": [- "string"
 ],
- "extension_attributes": {- "agreement_ids": [- "string"
 ]
 }
 },
- "billingAddress": {- "id": 0,
- "region": "string",
- "region_id": 0,
- "region_code": "string",
- "country_id": "string",
- "street": [- "string"
 ],
- "company": "string",
- "telephone": "string",
- "fax": "string",
- "postcode": "string",
- "city": "string",
- "firstname": "string",
- "lastname": "string",
- "middlename": "string",
- "prefix": "string",
- "suffix": "string",
- "vat_id": "string",
- "customer_id": 0,
- "email": "string",
- "same_as_billing": 0,
- "customer_address_id": 0,
- "save_in_address_book": 0,
- "extension_attributes": {- "discounts": [- {- "discount_data": {- "amount": 0,
- "base_amount": 0,
- "original_amount": 0,
- "base_original_amount": 0
 },
- "rule_label": "string",
- "rule_id": 0
 }
 ],
- "gift_registry_id": 0,
- "pickup_location_code": "string",
- "bolt_id": "string"
 },
- "custom_attributes": [- {- "attribute_code": "string",
- "value": "string"
 }
 ]
 }
}0