get_payload( $record ); $attrs['endpoint'] = array( 'method' => $this->get_method(), 'url' => $this->get_rest_url( $record ), ); return $attrs; } }