Set Seller Payment Method

Put a card on file for the operator (4 October).

The browser tokenises the card with the payment provider and sends only the resulting id, as it would with Stripe Elements; the demo's provider is a mock and no charge is made. A second call replaces the card.

post/api/v1/me/seller-profile/payment-method

Request

  • Base URL: https://trovastorage.it (the document declares no server; this is the origin it was published from)
  • URL: https://trovastorage.it/api/v1/me/seller-profile/payment-method
  • Auth: one of:
    • API key in header X-Access-Token
    • HTTP bearer

Request body

payment_method_idstring required

Response

Successful Response

idstring uuid required
business_namestring required
contact_phonestring required
address_linestring required
citystring required
country_codestring required
kyc_statestring required
admin_approvedboolean required
is_publish_eligibleboolean required
publishes_public_pricesboolean required
self_serve_bookingboolean required
has_specialistboolean required
slugstring required
card_brandstring nullable
card_last4string nullable

Changes

No recorded changes to this operation across all 1 revision of this API.