[doc] add id to payment details class example